Game
Importing the class
It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import at the very top of the file.
Methods
Return Type: Collection<BlockState>
Return Type: Collection<Block>
Return Type: Collection<Enchantment>
Return Type: Collection<EntityType>
Return Type: Collection<Fluid>
Return Type: Collection<IItemStack>
Return Type: Collection<MobEffect>
Return Type: Collection<Potion>
Return Type: Collection<VillagerProfession>
Return Type: Collection<IRecipeManager>
Returns: a localized String
Return Type: string
Parameter | Type |
---|---|
Parameter translationKey | Type string |
Properties
Name | Type | Has Getter | Has Setter |
---|---|---|---|
Name blockStates | Type Collection<BlockState> | Has Getter true | Has Setter false |
Name blocks | Type Collection<Block> | Has Getter true | Has Setter false |
Name effects | Type Collection<MobEffect> | Has Getter true | Has Setter false |
Name enchantments | Type Collection<Enchantment> | Has Getter true | Has Setter false |
Name entityTypes | Type Collection<EntityType> | Has Getter true | Has Setter false |
Name fluids | Type Collection<Fluid> | Has Getter true | Has Setter false |
Name items | Type Collection<IItemStack> | Has Getter true | Has Setter false |
Name potions | Type Collection<Potion> | Has Getter true | Has Setter false |
Name recipeTypes | Type Collection<IRecipeManager> | Has Getter true | Has Setter false |
Name villagerProfessions | Type Collection<VillagerProfession> | Has Getter true | Has Setter false |