Class BlockRegistry.Properties
java.lang.Object
net.rebel459.unified.impl.data.registry.BlockRegistry.Properties
- Enclosing class:
BlockRegistry
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<BlockRegistry.Properties> Optional<ExtensibleCodecBase.Entry<Predicate<net.minecraft.world.level.block.state.BlockState>>> Optional<net.minecraft.world.level.block.state.properties.NoteBlockInstrument> Optional<com.mojang.datafixers.util.Either<Integer, ExtensibleCodecBase.Entry<ToIntFunction<net.minecraft.world.level.block.state.BlockState>>>> Optional<net.minecraft.resources.ResourceKey<net.minecraft.world.level.storage.loot.LootTable>> static final com.mojang.serialization.MapCodec<BlockRegistry.Properties> Optional<com.mojang.datafixers.util.Either<net.minecraft.world.level.material.MapColor, ExtensibleCodecBase.Entry<Function<net.minecraft.world.level.block.state.BlockState, net.minecraft.world.level.material.MapColor>>>> Optional<net.minecraft.world.level.block.state.BlockBehaviour.OffsetType> Optional<net.minecraft.resources.ResourceKey<net.minecraft.world.level.block.Block>> Optional<ExtensibleCodecBase.Entry<net.minecraft.world.level.block.state.BlockBehaviour.PostProcess>> Optional<net.minecraft.world.level.material.PushReaction> Optional<ExtensibleCodecBase.Entry<net.minecraft.world.level.block.state.BlockBehaviour.StatePredicate>> Optional<net.minecraft.world.flag.FeatureFlagSet> Optional<ExtensibleCodecBase.Entry<net.minecraft.world.level.block.state.BlockBehaviour.StatePredicate>> Optional<ExtensibleCodecBase.Entry<net.minecraft.world.level.block.state.BlockBehaviour.StateArgumentPredicate<net.minecraft.world.entity.EntityType<?>>>> Optional<ExtensibleCodecBase.Entry<net.minecraft.world.level.block.state.BlockBehaviour.StateArgumentPredicate<net.minecraft.world.phys.AABB>>> -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
copyFrom
-
mapColor
public Optional<com.mojang.datafixers.util.Either<net.minecraft.world.level.material.MapColor, ExtensibleCodecBase.Entry<Function<net.minecraft.world.level.block.state.BlockState, net.minecraft.world.level.material.MapColor>>>> mapColor -
collision
-
occlusion
-
friction
-
speedMultiplier
-
jumpMultiplier
-
soundType
-
lightLevel
public Optional<com.mojang.datafixers.util.Either<Integer, ExtensibleCodecBase.Entry<ToIntFunction<net.minecraft.world.level.block.state.BlockState>>>> lightLevel -
destroyTime
-
explosionResistance
-
randomTicks
-
dynamicShape
-
lootTable
public Optional<net.minecraft.resources.ResourceKey<net.minecraft.world.level.storage.loot.LootTable>> lootTable -
liquid
-
solid
-
pushReaction
-
air
-
validSpawn
public Optional<ExtensibleCodecBase.Entry<net.minecraft.world.level.block.state.BlockBehaviour.StateArgumentPredicate<net.minecraft.world.entity.EntityType<?>>>> validSpawn -
redstoneConductor
public Optional<ExtensibleCodecBase.Entry<net.minecraft.world.level.block.state.BlockBehaviour.StatePredicate>> redstoneConductor -
suffocating
public Optional<ExtensibleCodecBase.Entry<net.minecraft.world.level.block.state.BlockBehaviour.StatePredicate>> suffocating -
viewBlocking
public Optional<ExtensibleCodecBase.Entry<net.minecraft.world.level.block.state.BlockBehaviour.StateArgumentPredicate<net.minecraft.world.phys.AABB>>> viewBlocking -
postProcess
public Optional<ExtensibleCodecBase.Entry<net.minecraft.world.level.block.state.BlockBehaviour.PostProcess>> postProcess -
emissiveRendering
public Optional<ExtensibleCodecBase.Entry<Predicate<net.minecraft.world.level.block.state.BlockState>>> emissiveRendering -
requiresCorrectToolForDrops
-
offset
-
spawnTerrainParticles
-
instrument
-
replaceable
-
descriptionOverride
-
requiredFeatures
-
noLootTable
-
flammability
-
oxidizesInto
public Optional<net.minecraft.resources.ResourceKey<net.minecraft.world.level.block.Block>> oxidizesInto -
MAP_CODEC
-
CODEC
-
-
Constructor Details
-
Properties
public Properties()
-