Package codechicken.lib.block.component
Class PropertyComponent<V extends Comparable<V>>
java.lang.Object
codechicken.lib.block.ModularBlock.Component
codechicken.lib.block.component.StateAwareComponent
codechicken.lib.block.component.PropertyComponent<V>
- Direct Known Subclasses:
DirectionComponent
@Experimental
public abstract class PropertyComponent<V extends Comparable<V>>
extends StateAwareComponent
Created by covers1624 on 22/7/22.
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedPropertyComponent(net.minecraft.world.level.block.state.properties.Property<V> property, V defaultValue) -
Method Summary
Methods inherited from class codechicken.lib.block.component.StateAwareComponent
getStateForPlacement, rotateMethods inherited from class codechicken.lib.block.ModularBlock.Component
getBlock
-
Field Details
-
property
public final net.minecraft.world.level.block.state.properties.Property<V extends Comparable<V>> property -
defaultValue
-
-
Constructor Details
-
PropertyComponent
-