:upside_down:
This commit is contained in:
parent
431f3e11b8
commit
6b3756a9de
@ -239,6 +239,7 @@ object MRegistry {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private fun initializeClient(event: FMLClientSetupEvent) {
|
private fun initializeClient(event: FMLClientSetupEvent) {
|
||||||
|
event.enqueueWork {
|
||||||
ItemProperties.register(MItems.TRITANIUM_SHIELD, ResourceLocation(OverdriveThatMatters.MOD_ID, "blocking")) { stack, level, entity, _ ->
|
ItemProperties.register(MItems.TRITANIUM_SHIELD, ResourceLocation(OverdriveThatMatters.MOD_ID, "blocking")) { stack, level, entity, _ ->
|
||||||
if (entity?.isUsingItem == true && entity.useItem == stack) {
|
if (entity?.isUsingItem == true && entity.useItem == stack) {
|
||||||
1f
|
1f
|
||||||
@ -259,4 +260,5 @@ object MRegistry {
|
|||||||
if (MItems.EXPLOSIVE_HAMMER.isPrimed(stack)) 1f else 0f
|
if (MItems.EXPLOSIVE_HAMMER.isPrimed(stack)) 1f else 0f
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user