Class StrategyProfile
java.lang.Object
dev.rono.igniscore.api.strategy.StrategyProfile
Default behavior profile for a strategy. Override
IgnisBlockStrategy.profile(BlockDefinition) and
IgnisBlockStrategy.onPlacedClick(BlockDefinition, IgnisLocation, IgnisPlayer, IgnisInteraction, IgnisItem) to declare click behavior in code.-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic StrategyProfile.Builderbuilder()static StrategyProfiledefaults()intdoubledoublebooleanbooleanboolean
-
Method Details
-
defaults
-
builder
-
isCombustible
public boolean isCombustible() -
isPlaceable
public boolean isPlaceable() -
isBreakable
public boolean isBreakable() -
getDefaultFuse
public int getDefaultFuse() -
getDefaultRadius
public double getDefaultRadius() -
getLeftClickAction
-
getRightClickAction
-
getIgnitionMaterials
-
getPlacementSound
-
getIgniteSound
-
getDisplayScale
public double getDisplayScale() -
toBuilder
-