Class SeasonalItemGroup
java.lang.Object
io.github.thebusybiscuit.slimefun4.api.items.ItemGroup
io.github.thebusybiscuit.slimefun4.api.items.groups.SeasonalItemGroup
- All Implemented Interfaces:
- Keyed
- Author:
- TheBusyBiscuit
- See Also:
- 
Field Summary
- 
Constructor SummaryConstructorsConstructorDescriptionSeasonalItemGroup(NamespacedKey key, Month month, int tier, ItemStack item) The constructor for aSeasonalItemGroup.
- 
Method SummaryModifier and TypeMethodDescriptiongetMonth()This method returns theMonthin which thisSeasonalItemGroupwill appear.booleanMethods inherited from class io.github.thebusybiscuit.slimefun4.api.items.ItemGroupadd, contains, equals, getAddon, getDisplayName, getItem, getItems, getKey, getTier, getUnlocalizedName, hashCode, isCrossAddonItemGroup, isHidden, isRegistered, isVisible, register, remove, setCrossAddonItemGroup, setTier, toString
- 
Constructor Details- 
SeasonalItemGroup@ParametersAreNonnullByDefault public SeasonalItemGroup(NamespacedKey key, Month month, int tier, ItemStack item) The constructor for aSeasonalItemGroup.- Parameters:
- key- The- NamespacedKeythat is used to identify this- ItemGroup
- month- The month when the- ItemGroupshould be displayed (from 1 = January ; to 12 = December)
- tier- The tier of this- ItemGroup
- item- The display item for this- ItemGroup
 
 
- 
- 
Method Details- 
getMonthThis method returns theMonthin which thisSeasonalItemGroupwill appear.- Returns:
- the Monthin which thisSeasonalItemGroupappears
 
- 
isAccessibleDescription copied from class:ItemGroupThis method returns whether thisItemGroupcan be accessed by the givenPlayer. If anItemGroupis not accessible, it will not show up in theSlimefunGuidenor will items from thisItemGroupshow up in the guide search.- Overrides:
- isAccessiblein class- ItemGroup
- Parameters:
- p- The- Playerto check for
- Returns:
- Whether this ItemGroupis accessible by the givenPlayer
 
 
-