parent
205c45e25d
commit
fd236d8a53
@ -239,6 +239,7 @@ object MRegistry {
|
||||
}
|
||||
|
||||
private fun initializeClient(event: FMLClientSetupEvent) {
|
||||
event.enqueueWork {
|
||||
ItemProperties.register(MItems.TRITANIUM_SHIELD, ResourceLocation(OverdriveThatMatters.MOD_ID, "blocking")) { stack, level, entity, _ ->
|
||||
if (entity?.isUsingItem == true && entity.useItem == stack) {
|
||||
1f
|
||||
@ -260,3 +261,4 @@ object MRegistry {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user