Class WoodSet
java.lang.Object
net.rebel459.unified.api.data.set.WoodSet
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic classWoodSet.Builder<T extends WoodSet.Builder<T>>static classstatic final recordstatic classstatic classstatic class -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionWoodSet(net.minecraft.resources.Identifier id, net.minecraft.tags.BlockItemTagId logTag, net.minecraft.world.level.material.MapColor sideColor, net.minecraft.world.level.material.MapColor plankColor, WoodSet.Settings settings, BlockGenerator blocks, ItemGenerator items, EntityGenerator entities, BlockSetTypeGenerator blockSetTypes, WoodTypeGenerator woodTypes, TagGenerator tags, CreativeEntryGenerator creativeEntries, BlockConversionGenerator blockConversions) -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.data.BlockFamily@Nullable Supplier<? extends net.minecraft.world.entity.EntityType<?>> getBoat()@Nullable SuppliedItem@Nullable Supplier<? extends net.minecraft.world.entity.EntityType<?>> @Nullable SuppliedItemgetDoor()getFence()net.minecraft.resources.IdentifiergetId()@Nullable SuppliedBlock@Nullable SuppliedBlockgetLeavesVariant(String prefix) @Nullable SuppliedBlockgetLeavesVariant(WoodSet.Leaves leaves) getLog()@Nullable SuppliedBlock@Nullable SuppliedBlock@Nullable SuppliedBlock@Nullable SuppliedBlock@Nullable SuppliedBlockgetShelf()getSign()getSlab()@Nullable SuppliedBlock@Nullable SuppliedBlockgetWood()Supplier<net.minecraft.world.level.block.state.properties.WoodType> booleanbooleanhasBoats()booleanbooleanbooleanbooleanbooleanhasWood()Supplier<? extends net.minecraft.world.entity.EntityType<?>> registerEntity(String name, ExtensibleCodecBase.Entry<net.minecraft.world.entity.EntityType.Builder<?>> type, Consumer<EntityGenerator.Builder> builder)
-
Field Details
-
WOOD_SETS
-
-
Constructor Details
-
WoodSet
public WoodSet(net.minecraft.resources.Identifier id, net.minecraft.tags.BlockItemTagId logTag, net.minecraft.world.level.material.MapColor sideColor, net.minecraft.world.level.material.MapColor plankColor, WoodSet.Settings settings, BlockGenerator blocks, ItemGenerator items, EntityGenerator entities, BlockSetTypeGenerator blockSetTypes, WoodTypeGenerator woodTypes, TagGenerator tags, CreativeEntryGenerator creativeEntries, BlockConversionGenerator blockConversions)
-
-
Method Details
-
registerEntity
public Supplier<? extends net.minecraft.world.entity.EntityType<?>> registerEntity(String name, ExtensibleCodecBase.Entry<net.minecraft.world.entity.EntityType.Builder<?>> type, Consumer<EntityGenerator.Builder> builder) -
getSettings
-
getId
public net.minecraft.resources.Identifier getId() -
getButton
-
getFence
-
getPlanks
-
getSlab
-
getFenceGate
-
getStairs
-
getDoor
-
getHangingSign
-
getWallHangingSign
-
getPressurePlate
-
getSign
-
getTrapdoor
-
getWallSign
-
getHangingSignItem
-
getSignItem
-
getLog
-
getStrippedLog
-
getWood
-
getStrippedWood
-
getMosaic
-
getMosaicStairs
-
getMosaicSlab
-
getLeaves
-
getLeavesVariant
-
getLeavesVariant
-
getAllLeaves
-
getSapling
-
getPottedSapling
-
getBoat
-
getChestBoat
@Nullable public @Nullable Supplier<? extends net.minecraft.world.entity.EntityType<?>> getChestBoat() -
getBoatItem
-
getChestBoatItem
-
getRegisteredBlocks
-
getRegisteredItems
-
getShelf
-
getBlockFamily
public net.minecraft.data.BlockFamily getBlockFamily() -
hasSingleLeaves
public boolean hasSingleLeaves() -
hasAnyLeaves
public boolean hasAnyLeaves() -
hasColoredLeaves
public boolean hasColoredLeaves() -
hasSapling
public boolean hasSapling() -
hasWood
public boolean hasWood() -
hasMosaic
public boolean hasMosaic() -
hasBoats
public boolean hasBoats() -
getWoodType
-