Package etithespirit.orimod.common.block
Interface IToolRequirementProvider
- All Known Implementing Classes:
HardLightBlock
,LightCapacitorBlock
,LightConduitBlock
,SolidLightConduitBlock
public interface IToolRequirementProvider
An interface that requires blocks to return a list of their appropriate tags, intended for use in datagen.
-
Method Summary
Modifier and TypeMethodDescriptionIterable<net.minecraft.tags.TagKey<net.minecraft.world.level.block.Block>>
Returns all tags that this block should be added to.
-
Method Details
-
getTagsForBlock
Iterable<net.minecraft.tags.TagKey<net.minecraft.world.level.block.Block>> getTagsForBlock()Returns all tags that this block should be added to. The tags must come fromBlockTags
. Reminder to self: Because it keeps eluding you, this is not a MC method. This is your method.- Returns:
- A list of tags that this block must use.
-