Contents
Class CompanionBlockSpawnerRecipe.RequiredBlock
java.lang.Object
com.hypixel.hytale.builtin.companionblockspawner.config.CompanionBlockSpawnerRecipe.RequiredBlock
- Enclosing class:
CompanionBlockSpawnerRecipe
A single requirement: how many blocks matching
value must be present within the recipe radius.
matchBy decides how value is interpreted - an exact block type key (CompanionBlockSpawnerRecipe.RequiredBlock.MatchBy.BLOCK_ID)
or a block tag (CompanionBlockSpawnerRecipe.RequiredBlock.MatchBy.TAG, e.g. "Bed" or "Family=Crude", which any block carrying it satisfies).-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final BuilderCodec<CompanionBlockSpawnerRecipe.RequiredBlock> static final CompanionBlockSpawnerRecipe.RequiredBlock[] -
Method Summary
-
Field Details
-
EMPTY_ARRAY
-
CODEC
-
-
Method Details
-
getMatchBy
-
getValue
-
getCount
public int getCount()
-