Interface CreakingHeartDecorator
- All Superinterfaces:
TreeDecorator, Wrapper
Places a creaking heart, replacing a trunk block in a position where all 6 surrounding blocks are in the
#minecraft:logs tag.- Since:
- 3.0.0
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Creates a new builder.static CreakingHeartDecoratorof(float probability) Creates a new creaking heart decorator.floatThe probability of placing a creaking heart, between 0.0F and 1.0F (inclusive).default CreakingHeartDecorator.BuilderConverts this object back to a builder.Methods inherited from interface Wrapper
asHandle, toMinecraft, unwrap
-
Method Details
-
probability
The probability of placing a creaking heart, between 0.0F and 1.0F (inclusive).- Returns:
- the probability
- Since:
- 3.0.0
-
toBuilder
Converts this object back to a builder.- Returns:
- a builder with the same values as this object
- Since:
- 3.0.0
-
of
Creates a new creaking heart decorator.- Parameters:
probability- the probability of placing a creaking heart, between 0.0F and 1.0F (inclusive)- Returns:
- a new creaking heart decorator
- Since:
- 3.0.0
-
builder
Creates a new builder.- Returns:
- a new builder
- Since:
- 3.0.0
-