Class HarvestBlockDropsEventNeoForge
java.lang.Object
mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventWrapper<E>
mods.thecomputerizer.theimpossiblelibrary.api.common.event.CommonEventWrapper<E>
mods.thecomputerizer.theimpossiblelibrary.api.common.event.types.CommonBlockStateEventType<E>
mods.thecomputerizer.theimpossiblelibrary.api.common.event.types.CommonBlockStatePlayerEventType<E>
mods.thecomputerizer.theimpossiblelibrary.api.common.event.events.HarvestBlockDropsEventWrapper<Object>
mods.thecomputerizer.theimpossiblelibrary.neoforge.common.event.events.HarvestBlockDropsEventNeoForge
- All Implemented Interfaces:
mods.thecomputerizer.theimpossiblelibrary.api.core.CoreStateAccessor
public class HarvestBlockDropsEventNeoForge
extends mods.thecomputerizer.theimpossiblelibrary.api.common.event.events.HarvestBlockDropsEventWrapper<Object>
-
Nested Class Summary
Nested classes/interfaces inherited from class mods.thecomputerizer.theimpossiblelibrary.api.common.event.CommonEventWrapper
mods.thecomputerizer.theimpossiblelibrary.api.common.event.CommonEventWrapper.CommonType<E extends mods.thecomputerizer.theimpossiblelibrary.api.common.event.CommonEventWrapper<?>>Nested classes/interfaces inherited from class mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventWrapper
mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventWrapper.EventType<E extends mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventWrapper<?>>, mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventWrapper.Result -
Field Summary
Fields inherited from class mods.thecomputerizer.theimpossiblelibrary.api.common.event.events.HarvestBlockDropsEventWrapper
dropChance, drops, fortuneLevel, silkTouchingFields inherited from class mods.thecomputerizer.theimpossiblelibrary.api.common.event.types.CommonBlockStatePlayerEventType
playerFields inherited from class mods.thecomputerizer.theimpossiblelibrary.api.common.event.types.CommonBlockStateEventType
pos, state, worldFields inherited from class mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventWrapper
eventFields inherited from interface mods.thecomputerizer.theimpossiblelibrary.api.core.CoreStateAccessor
BOOLEAN_VALUES, FABRIC, FORGE, FORGE_OR_NEOFORGE, GAME_VERSION, JAVA_17, JAVA_21, JAVA_8, JAVA_MODULES, JAVA_VERSION, JAVA_VERSION_ASM, LEGACY, MOD_LOADER, NAMED_ENV, NEOFORGE, SRG_ENV, V12, V16, V16_OR_EARLIER, V16_OR_LATER, V18, V18_OR_EARLIER, V18_OR_LATER, V19, V19_2_OR_EARLIER, V19_4_OR_LATER, V19_OR_EARLIER, V19_OR_LATER, V20, V20_4_OR_EARLIER, V20_6_OR_LATER, V20_OR_EARLIER, V20_OR_LATER, V21, V21_OR_LATER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventFieldWrapper<Object,Float> protected mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventFieldWrapper<Object,List<mods.thecomputerizer.theimpossiblelibrary.api.common.item.ItemStackAPI<?>>> protected mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventFieldWrapper<Object,Integer> protected mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventFieldWrapper<Object,mods.thecomputerizer.theimpossiblelibrary.api.common.entity.PlayerAPI<?, ?>> protected mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventFieldWrapper<Object,mods.thecomputerizer.theimpossiblelibrary.api.world.BlockPosAPI<?>> protected mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventFieldWrapper<Object,Boolean> protected mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventFieldWrapper<Object,mods.thecomputerizer.theimpossiblelibrary.api.common.block.BlockStateAPI<?>> protected mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventFieldWrapper<Object,mods.thecomputerizer.theimpossiblelibrary.api.world.WorldAPI<?>> Methods inherited from class mods.thecomputerizer.theimpossiblelibrary.api.common.event.events.HarvestBlockDropsEventWrapper
getDropChance, getDrops, getFortuneLevel, isSilkTouching, populate, setDropChanceMethods inherited from class mods.thecomputerizer.theimpossiblelibrary.api.common.event.types.CommonBlockStatePlayerEventType
getPlayerMethods inherited from class mods.thecomputerizer.theimpossiblelibrary.api.common.event.types.CommonBlockStateEventType
getPos, getState, getWorldMethods inherited from class mods.thecomputerizer.theimpossiblelibrary.api.common.event.CommonEventWrapper
isClient, isCommon, isServerMethods inherited from class mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventWrapper
actionResultGetter, actionResultSetter, cancel, cast, eventResultGetter, eventResultSetter, getEvent, getPriority, getResult, getter, getter, getter, getter, getType, hasInvokers, hasResult, initPrimitive, isCancelable, isCanceled, nestedGetter, nestedGetter, nestedGetter, nestedGetter, setCanceled, setEvent, setPriority, setResult, setter, setter, setter, setter, wrapActionResultBoth, wrapAdvancement, wrapAdvancementBoth, wrapAdvancementGetter, wrapBlock, wrapBlockBoth, wrapBlockEntity, wrapBlockEntityBoth, wrapBlockEntityGetter, wrapBlockGetter, wrapBoth, wrapBoth, wrapDamage, wrapDamage, wrapDamageGetter, wrapDamageGetter, wrapEntity, wrapEntityBoth, wrapEntityGetter, wrapEventResultBoth, wrapExplosion, wrapExplosionBoth, wrapExplosionGetter, wrapGenericBoth, wrapGenericGetter, wrapGetter, wrapGetter, wrapItem, wrapItemBoth, wrapItemGetter, wrapItemStack, wrapItemStackBoth, wrapItemStackGetter, wrapLiving, wrapLivingBoth, wrapLivingGetter, wrapPlayer, wrapPlayerBoth, wrapPlayerGetter, wrapPos, wrapPosBoth, wrapPosGetter, wrapSnapshot, wrapSnapshotBoth, wrapSnapshotGetter, wrapState, wrapStateBoth, wrapStateGetter, wrapWorld, wrapWorldBoth, wrapWorldGetter
-
Constructor Details
-
HarvestBlockDropsEventNeoForge
public HarvestBlockDropsEventNeoForge()
-
-
Method Details
-
wrapDropsField
protected mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventFieldWrapper<Object,List<mods.thecomputerizer.theimpossiblelibrary.api.common.item.ItemStackAPI<?>>> wrapDropsField()- Specified by:
wrapDropsFieldin classmods.thecomputerizer.theimpossiblelibrary.api.common.event.events.HarvestBlockDropsEventWrapper<Object>
-
wrapDropChanceField
protected mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventFieldWrapper<Object,Float> wrapDropChanceField()- Specified by:
wrapDropChanceFieldin classmods.thecomputerizer.theimpossiblelibrary.api.common.event.events.HarvestBlockDropsEventWrapper<Object>
-
wrapFortuneLevelField
protected mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventFieldWrapper<Object,Integer> wrapFortuneLevelField()- Specified by:
wrapFortuneLevelFieldin classmods.thecomputerizer.theimpossiblelibrary.api.common.event.events.HarvestBlockDropsEventWrapper<Object>
-
wrapSilkTouchingField
protected mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventFieldWrapper<Object,Boolean> wrapSilkTouchingField()- Specified by:
wrapSilkTouchingFieldin classmods.thecomputerizer.theimpossiblelibrary.api.common.event.events.HarvestBlockDropsEventWrapper<Object>
-
wrapPlayerField
protected mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventFieldWrapper<Object,mods.thecomputerizer.theimpossiblelibrary.api.common.entity.PlayerAPI<?, wrapPlayerField()?>> - Specified by:
wrapPlayerFieldin classmods.thecomputerizer.theimpossiblelibrary.api.common.event.types.CommonBlockStatePlayerEventType<Object>
-
wrapPosField
protected mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventFieldWrapper<Object,mods.thecomputerizer.theimpossiblelibrary.api.world.BlockPosAPI<?>> wrapPosField()- Specified by:
wrapPosFieldin classmods.thecomputerizer.theimpossiblelibrary.api.common.event.types.CommonBlockStateEventType<Object>
-
wrapStateField
protected mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventFieldWrapper<Object,mods.thecomputerizer.theimpossiblelibrary.api.common.block.BlockStateAPI<?>> wrapStateField()- Specified by:
wrapStateFieldin classmods.thecomputerizer.theimpossiblelibrary.api.common.event.types.CommonBlockStateEventType<Object>
-
wrapWorldField
protected mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventFieldWrapper<Object,mods.thecomputerizer.theimpossiblelibrary.api.world.WorldAPI<?>> wrapWorldField()- Specified by:
wrapWorldFieldin classmods.thecomputerizer.theimpossiblelibrary.api.common.event.types.CommonBlockStateEventType<Object>
-