Class BlockGenerator.Properties
java.lang.Object
net.rebel459.unified.api.data.registry.BlockGenerator.Properties
- Enclosing class:
BlockGenerator
-
Method Summary
Modifier and TypeMethodDescriptionair(boolean air) collision(boolean collision) descriptionOverride(String descriptionOverride) dynamicShape(boolean dynamicShape) emissiveRendering(Predicate<net.minecraft.world.level.block.state.BlockState> emissiveRendering) emissiveRendering(ExtensibleCodecBase.Entry<Predicate<net.minecraft.world.level.block.state.BlockState>> emissiveRendering) flammable(int igniteOdds, int burnOdds) friction(float friction) instrument(net.minecraft.world.level.block.state.properties.NoteBlockInstrument instrument) jumpMultiplier(float jumpMultiplier) lightLevel(int lightLevel) lightLevel(ToIntFunction<net.minecraft.world.level.block.state.BlockState> lightLevel) lightLevel(ExtensibleCodecBase.Entry<ToIntFunction<net.minecraft.world.level.block.state.BlockState>> lightLevel) liquid(boolean liquid) lootTable(net.minecraft.resources.ResourceKey<net.minecraft.world.level.storage.loot.LootTable> lootTable) mapColor(Function<net.minecraft.world.level.block.state.BlockState, net.minecraft.world.level.material.MapColor> mapColor) mapColor(net.minecraft.world.level.material.MapColor mapColor) mapColor(ExtensibleCodecBase.Entry<Function<net.minecraft.world.level.block.state.BlockState, net.minecraft.world.level.material.MapColor>> mapColor) occlusion(boolean occlusion) offset(net.minecraft.world.level.block.state.BlockBehaviour.OffsetType offset) postProcess(net.minecraft.world.level.block.state.BlockBehaviour.PostProcess postProcess) postProcess(ExtensibleCodecBase.Entry<net.minecraft.world.level.block.state.BlockBehaviour.PostProcess> postProcess) pushReaction(net.minecraft.world.level.material.PushReaction pushReaction) randomTicks(boolean randomTicks) redstoneConductor(net.minecraft.world.level.block.state.BlockBehaviour.StatePredicate redstoneConductor) redstoneConductor(ExtensibleCodecBase.Entry<net.minecraft.world.level.block.state.BlockBehaviour.StatePredicate> redstoneConductor) replaceable(boolean replaceable) requiredFeatures(net.minecraft.world.flag.FeatureFlag... features) requiresCorrectToolForDrops(boolean requiresCorrectToolForDrops) solid(boolean solid) soundType(net.minecraft.world.level.block.SoundType sounds) spawnTerrainParticles(boolean spawnTerrainParticles) speedMultiplier(float speedMultiplier) strength(float strength) strength(float destroyTime, float explosionResistance) suffocating(net.minecraft.world.level.block.state.BlockBehaviour.StatePredicate suffocating) suffocating(ExtensibleCodecBase.Entry<net.minecraft.world.level.block.state.BlockBehaviour.StatePredicate> suffocating) validSpawn(net.minecraft.world.level.block.state.BlockBehaviour.StateArgumentPredicate<net.minecraft.world.entity.EntityType<?>> validSpawn) validSpawn(ExtensibleCodecBase.Entry<net.minecraft.world.level.block.state.BlockBehaviour.StateArgumentPredicate<net.minecraft.world.entity.EntityType<?>>> validSpawn) viewBlocking(net.minecraft.world.level.block.state.BlockBehaviour.StateArgumentPredicate<net.minecraft.world.phys.AABB> viewBlocking) viewBlocking(ExtensibleCodecBase.Entry<net.minecraft.world.level.block.state.BlockBehaviour.StateArgumentPredicate<net.minecraft.world.phys.AABB>> viewBlocking)
-
Method Details
-
copyFrom
public BlockGenerator.Properties copyFrom(Supplier<? extends net.minecraft.world.level.block.Block> copyFrom) -
mapColor
-
mapColor
public BlockGenerator.Properties mapColor(ExtensibleCodecBase.Entry<Function<net.minecraft.world.level.block.state.BlockState, net.minecraft.world.level.material.MapColor>> mapColor) -
mapColor
public BlockGenerator.Properties mapColor(Function<net.minecraft.world.level.block.state.BlockState, net.minecraft.world.level.material.MapColor> mapColor) -
collision
-
occlusion
-
friction
-
speedMultiplier
-
jumpMultiplier
-
soundType
-
lightLevel
-
lightLevel
public BlockGenerator.Properties lightLevel(ExtensibleCodecBase.Entry<ToIntFunction<net.minecraft.world.level.block.state.BlockState>> lightLevel) -
lightLevel
public BlockGenerator.Properties lightLevel(ToIntFunction<net.minecraft.world.level.block.state.BlockState> lightLevel) -
strength
-
strength
-
randomTicks
-
dynamicShape
-
lootTable
public BlockGenerator.Properties lootTable(net.minecraft.resources.ResourceKey<net.minecraft.world.level.storage.loot.LootTable> lootTable) -
noLootTable
-
requiredFeatures
-
liquid
-
solid
-
pushReaction
public BlockGenerator.Properties pushReaction(net.minecraft.world.level.material.PushReaction pushReaction) -
air
-
validSpawn
public BlockGenerator.Properties validSpawn(ExtensibleCodecBase.Entry<net.minecraft.world.level.block.state.BlockBehaviour.StateArgumentPredicate<net.minecraft.world.entity.EntityType<?>>> validSpawn) -
validSpawn
public BlockGenerator.Properties validSpawn(net.minecraft.world.level.block.state.BlockBehaviour.StateArgumentPredicate<net.minecraft.world.entity.EntityType<?>> validSpawn) -
redstoneConductor
public BlockGenerator.Properties redstoneConductor(ExtensibleCodecBase.Entry<net.minecraft.world.level.block.state.BlockBehaviour.StatePredicate> redstoneConductor) -
redstoneConductor
public BlockGenerator.Properties redstoneConductor(net.minecraft.world.level.block.state.BlockBehaviour.StatePredicate redstoneConductor) -
suffocating
public BlockGenerator.Properties suffocating(ExtensibleCodecBase.Entry<net.minecraft.world.level.block.state.BlockBehaviour.StatePredicate> suffocating) -
suffocating
public BlockGenerator.Properties suffocating(net.minecraft.world.level.block.state.BlockBehaviour.StatePredicate suffocating) -
viewBlocking
public BlockGenerator.Properties viewBlocking(ExtensibleCodecBase.Entry<net.minecraft.world.level.block.state.BlockBehaviour.StateArgumentPredicate<net.minecraft.world.phys.AABB>> viewBlocking) -
viewBlocking
public BlockGenerator.Properties viewBlocking(net.minecraft.world.level.block.state.BlockBehaviour.StateArgumentPredicate<net.minecraft.world.phys.AABB> viewBlocking) -
postProcess
public BlockGenerator.Properties postProcess(ExtensibleCodecBase.Entry<net.minecraft.world.level.block.state.BlockBehaviour.PostProcess> postProcess) -
postProcess
public BlockGenerator.Properties postProcess(net.minecraft.world.level.block.state.BlockBehaviour.PostProcess postProcess) -
emissiveRendering
public BlockGenerator.Properties emissiveRendering(ExtensibleCodecBase.Entry<Predicate<net.minecraft.world.level.block.state.BlockState>> emissiveRendering) -
emissiveRendering
public BlockGenerator.Properties emissiveRendering(Predicate<net.minecraft.world.level.block.state.BlockState> emissiveRendering) -
requiresCorrectToolForDrops
-
offset
public BlockGenerator.Properties offset(net.minecraft.world.level.block.state.BlockBehaviour.OffsetType offset) -
spawnTerrainParticles
-
instrument
public BlockGenerator.Properties instrument(net.minecraft.world.level.block.state.properties.NoteBlockInstrument instrument) -
replaceable
-
descriptionOverride
-
instabreak
-
flammable
-