Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
G
- GeneralUtils - Class in etithespirit.orimod
-
A set of general utilities that the mod may or may not use.
- GenerateBlockModels - Class in etithespirit.orimod.datagen
- GenerateBlockModels(DataGenerator, ExistingFileHelper) - Constructor for class etithespirit.orimod.datagen.GenerateBlockModels
-
Create a new instance of the Block Model Generator
- GenerateItemModels - Class in etithespirit.orimod.datagen
-
Generates models associated with items.
- GenerateItemModels(DataGenerator, ExistingFileHelper) - Constructor for class etithespirit.orimod.datagen.GenerateItemModels
-
Create the Item Model Generator
- GenerateSoundsJson - Class in etithespirit.orimod.datagen.audio
-
A custom and rather hacky "data generator" (not in the traditional Minecraft sense!) that generates sounds.json based on some completely custom and arbitrary tomfoolery.
- GenerateSoundsJson(String, String) - Constructor for class etithespirit.orimod.datagen.audio.GenerateSoundsJson
-
Create a sound json generator for the given mod using the given source folder for the repository.
- GenerateSoundsJson(String, String, String, String) - Constructor for class etithespirit.orimod.datagen.audio.GenerateSoundsJson
- get() - Method in class etithespirit.orimod.api.environment.defaultimpl.AffinityWithFX.SetOnce
-
Acquire the value stored within.
- get(boolean) - Method in class etithespirit.orimod.util.SidedValue
-
Gets the value for the given side.
- get(int) - Method in class etithespirit.orimod.util.collection.WeakList
-
Returns the element at the specified position in this list.
- get(Class<? extends MobEffect>) - Static method in class etithespirit.orimod.registry.PotionRegistry
- get(String) - Static method in class etithespirit.orimod.registry.SoundRegistry
- get(ResourceLocation) - Static method in class etithespirit.orimod.registry.PotionRegistry
-
Returns the actual effect associated with the given ID.
- get(Player) - Method in class etithespirit.orimod.server.persistence.SpiritPermissions
-
Return the permissions for the given player.
- getAABBEnclosing(BlockPos, BlockPos, double) - Static method in class etithespirit.orimod.client.render.debug.RenderUtil
-
Returns an AABB containing the two given BlockPos center points.
- getAllBindings() - Method in interface etithespirit.orimod.api.interfaces.IEnvironmentalAffinityAPI
-
Returns all bindings from biome to their environmental affinity.
- getAllBindings() - Method in class etithespirit.orimod.apiimpl.EnvironmentalAffinityAPI
- getAppropriateMaterialBetween(BlockState, BlockState) - Static method in class etithespirit.orimod.spiritmaterial.BlockToMaterialBinding
-
Given two blockstates, this determines which state should be used to grab the material from.
- getArm(HumanoidArm) - Method in class etithespirit.orimod.client.render.SpiritArmorModel
- getArm(HumanoidArm) - Method in class etithespirit.orimod.client.render.SpiritModel
- getAttackArm(LivingEntity) - Method in class etithespirit.orimod.client.render.SpiritArmorModel
- getAttackArm(LivingEntity) - Method in class etithespirit.orimod.client.render.SpiritModel
- getBiomeEnvEffects(ResourceLocation) - Method in interface etithespirit.orimod.api.interfaces.IEnvironmentalAffinityAPI
-
Returns the environmental affinity of this biome with respect to Decay vs Light.
- getBiomeEnvEffects(ResourceLocation) - Method in class etithespirit.orimod.apiimpl.EnvironmentalAffinityAPI
- getBitwiseColliderArrayFor(Function<Integer, VoxelShape>) - Static method in class etithespirit.orimod.info.coordinate.SixSidedUtils
-
Given a method that takes in an integer value ranging from 0b000000 to 0b111111 and returns a corresponding voxel shape, this will return a 64-VoxelShape array for every possible combination of bits.
- getBlockInPos(Entity) - Static method in class etithespirit.orimod.client.audio.SpiritSoundProvider
-
Returns the BlockPos of the block the entity is standing in.
- getBlockOnPos(Entity) - Static method in class etithespirit.orimod.client.audio.SpiritSoundProvider
-
Returns the BlockPos of the block the entity is standing on.
- getBlockState(BlockPos) - Method in class etithespirit.mixin.mixins.InjectSetBlockAndUpdate
- getBlockStateForSingleFlagValue(int) - Static method in class etithespirit.orimod.info.coordinate.SixSidedUtils
- getBlockStateFromDirection(Direction) - Static method in class etithespirit.orimod.info.coordinate.SixSidedUtils
-
Given a
Direction
, this will return the associated cardinal blockstate (for instance,Direction.DOWN
returnsBlockStateProperties.DOWN
). - getBlockStateFromEvidentFace(BlockPos, Vec3) - Static method in class etithespirit.orimod.info.coordinate.SixSidedUtils
-
Given a block raytrace, this returns the closest face direction when comparing the ray's precise 3D location to the center of the block.
This is strictly useful if the block is NOT a cube. - getBoundingBoxForPose(Pose) - Method in class etithespirit.mixin.mixins.RedirectForSpiritPose
-
Shadow the original method as a fallback.
- getCategory() - Method in class etithespirit.orimod.common.potion.DecayEffect
- getCategory() - Method in class etithespirit.orimod.common.potion.RadiantEffect
- getCategory() - Method in class etithespirit.orimod.event.EntityEmittedSoundEvent
- getCategory() - Method in class etithespirit.orimod.util.RichEffect
-
Returns the default type for this effect.
- getChunkPos(CompoundTag, String) - Static method in class etithespirit.orimod.util.nbt.NBTIOHelper
-
Reads a
ChunkPos
from the given tag. - getColor() - Method in class etithespirit.orimod.common.potion.DecayEffect
- getColor() - Method in class etithespirit.orimod.common.potion.RadiantEffect
- getColor() - Method in class etithespirit.orimod.util.RichEffect
-
Returns the default color for this effect.
- getCustomIcon() - Method in class etithespirit.orimod.common.potion.DecayEffect
- getCustomIcon() - Method in class etithespirit.orimod.common.potion.RadiantEffect
- getCustomIcon() - Method in class etithespirit.orimod.util.RichEffect
-
Returns the
ResourceLocation
representing the image to be used as this effect's icon. - getDecayReplacementFor(StateHolder<?, ?>) - Method in interface etithespirit.orimod.common.block.decay.IDecayBlock
-
When Decay blocks are registered, they define which block states or fluid states they replace, and what state to replace those with.
This method can be used to look up what a block's block replacement is, e.g. - getDecayReplacementFor(StateHolder<?, ?>) - Method in class etithespirit.orimod.common.block.decay.world.DecaySurfaceMyceliumBlock
- getDecaySpreadBehavior(StateHolder<?, ?>) - Static method in class etithespirit.orimod.config.OriModConfigs
-
Returns the spreading behavior of the given decay block.
- getDefaultCategory() - Method in class etithespirit.orimod.event.EntityEmittedSoundEvent
- getDefaultDecayReplacementFor(StateHolder<?, ?>) - Static method in interface etithespirit.orimod.common.block.decay.IDecayBlock
-
When Decay blocks are registered, they define which block or fluid states they replace, and what state to replace those with.
This method can be used to look up what a block's replacement is, e.g. - getDefaultPitch() - Method in class etithespirit.orimod.event.EntityEmittedSoundEvent
- getDefaultProjectileRange() - Method in class etithespirit.orimod.common.item.combat.SpiritArc
- getDefaultSound() - Method in class etithespirit.orimod.event.EntityEmittedSoundEvent
- getDefaultVolume() - Method in class etithespirit.orimod.event.EntityEmittedSoundEvent
- getDirectionBetweenBlocks(BlockPos, BlockPos) - Static method in class etithespirit.orimod.info.coordinate.SixSidedUtils
-
Returns the
Direction
of from -> to. - getDirectionBetweenBlocks(BlockPos, Vec3) - Static method in class etithespirit.orimod.info.coordinate.SixSidedUtils
-
Returns a
Direction
representative of where the givenVec3
sits relative to the givenBlockPos
- getDirectionsWithMutualConnections(BlockGetter, BlockPos, boolean) - Static method in class etithespirit.orimod.aos.ConnectionHelper
-
Returns all adjacent
BlockPos
instances that represent neighboringConnectableLightTechBlock
s with mutual connections to this block. - getEffectRendererInternal() - Method in class etithespirit.orimod.util.RichEffect
- getEntity() - Method in class etithespirit.orimod.event.EntityEmittedSoundEvent
- getEntry(Player) - Method in class etithespirit.orimod.server.persistence.SpiritPermissions
-
Returns the raw entry associated with the given player.
- getEnvironmentalAffinityAPI() - Static method in class etithespirit.orimod.api.APIProvider
-
Returns an instance of the Environmental Affinity API if it exists, or a dummy instance otherwise.
This API is not ready for use. - getFlagsForNeighborsWhere(BlockGetter, BlockPos, Function3<BlockState, BlockPos, BlockPos, Boolean>) - Static method in class etithespirit.orimod.info.coordinate.SixSidedUtils
-
Returns all neighbors to the block at the given position that satisfy the given predicate.
- getFluidOrBlock(BlockGetter, BlockPos) - Static method in class etithespirit.orimod.util.level.StateHelper
-
If the given location in the given world has a fluid, this returns its
FluidState
. - getHead() - Method in class etithespirit.orimod.client.render.SpiritModel
- getId(Class<? extends MobEffect>) - Static method in class etithespirit.orimod.registry.PotionRegistry
-
Returns the ID of the given custom potion, or null if it is not a custom potion as defined here.
- getInstance() - Static method in class etithespirit.orimod.OriMod
-
Returns the singleton instance of this mod.
- getKeyForUser(GameProfile) - Method in class etithespirit.orimod.server.persistence.SpiritPermissions
- getLightStored() - Method in class etithespirit.orimod.common.tile.light.AbstractLightStorageTile
- getLightStored() - Method in class etithespirit.orimod.common.tile.light.PersistentLightEnergyStorage
- getLightStored() - Method in interface etithespirit.orimod.energy.ILightEnergyStorage
- getListForSide(boolean) - Method in class etithespirit.orimod.util.collection.SidedListProvider
-
Returns the list appropriate for this side.
- getLocalPlayer() - Static method in class etithespirit.orimod.GeneralUtils
-
Client only.
- getManyChunkPos(CompoundTag, String) - Static method in class etithespirit.orimod.util.nbt.NBTIOHelper
-
Reads many
ChunkPos
instances from the given tag under the given name. - getMaterialFor(Entity, BlockPos, BlockPos) - Static method in class etithespirit.orimod.spiritmaterial.BlockToMaterialBinding
-
A more rich method of acquiring an appropriate block sound using contextual entity information.
- getMaterialForRaw(BlockState) - Static method in class etithespirit.orimod.spiritmaterial.BlockToMaterialBinding
-
Return raw, 1:1 bindings from blocks/materials to SpiritMaterials.
- getMax() - Method in class etithespirit.orimod.api.util.valuetypes.NumberRange
- getMaxDuration(MobEffectInstance) - Static method in class etithespirit.orimod.util.extension.MobEffectDataStorage
-
An alias method that returns a custom max duration value, or, the duration this effect started with.
- getMaxLightStored() - Method in class etithespirit.orimod.common.tile.light.AbstractLightStorageTile
- getMaxLightStored() - Method in class etithespirit.orimod.common.tile.light.PersistentLightEnergyStorage
- getMaxLightStored() - Method in interface etithespirit.orimod.energy.ILightEnergyStorage
- getMaxStackSize(ItemStack) - Method in class etithespirit.orimod.common.item.crafting.LightLens
- getMessage() - Method in exception etithespirit.exception.ArgumentNullException
- getMin() - Method in class etithespirit.orimod.api.util.valuetypes.NumberRange
- getModName(String) - Static method in class etithespirit.orimod.GeneralUtils
-
Given a mod's ID, this will attempt to locate the mod's user-friendly display name through Forge's mod list.
- getName() - Method in class etithespirit.orimod.datagen.audio.GenerateSoundsJson
-
Gets a name for this provider, to use in logging.
- getNBTForUpdatePacket(CompoundTag) - Method in interface etithespirit.orimod.common.tile.INetworkNBTProvider
-
Receives a
CompoundTag
to populate with data to send over the network. - getNextEfficiencyMultiplier() - Method in class etithespirit.orimod.api.environment.EnvironmentalAffinity
-
Returns the next randomized efficiency multiplier for all light tech in the area.
- getNonAirNonFluidFullNeighbors(BlockGetter, BlockPos) - Static method in class etithespirit.orimod.info.coordinate.SixSidedUtils
-
Returns directional flags representing which blocks around the given location are not air, not a fluid or waterlogged, and have a full face facing the block at the given
BlockPos
. - getNonAirNonFluidFullNeighbors(BlockGetter, BlockPos, BlockPos...) - Static method in class etithespirit.orimod.info.coordinate.SixSidedUtils
-
Returns directional flags representing which blocks around the given location are not air, not a fluid or waterlogged, and have a full face facing the block at the given
BlockPos
. - getNonDecayableAdjacents(Level, BlockPos) - Method in interface etithespirit.orimod.common.block.decay.IDecayBlock
-
Returns an array of 6 boolean values mapping in the order of: EAST, WEST, UP, DOWN, NORTH, SOUTH
A given boolean is true if the corresponding block has no decay replacement. - getNumberFromSurfaces(boolean, boolean, boolean, boolean, boolean, boolean) - Static method in class etithespirit.orimod.info.coordinate.SixSidedUtils
-
Given six boolean values, each representing a face's occupied state, this returns a numeric value with the appropriate bit flags set.
- getNumberFromSurfaces(BlockState) - Static method in class etithespirit.orimod.info.coordinate.SixSidedUtils
-
Calls
SixSidedUtils.getNumberFromSurfaces(boolean, boolean, boolean, boolean, boolean, boolean)
from the givenBlockState
's data, which should contain six booleans representing each face's occupied state. - getPermissions() - Static method in class etithespirit.orimod.server.persistence.SpiritPermissions
- getPickupItem() - Method in class etithespirit.orimod.combat.projectile.SpiritArrow
- getPitch() - Method in class etithespirit.orimod.event.EntityEmittedSoundEvent
- getPosition() - Method in class etithespirit.orimod.event.EntityEmittedSoundEvent
- getPropertiesOfItem() - Method in interface etithespirit.orimod.common.block.decay.IDecayBlockIdentifier
- getPropertiesOfItem() - Method in class etithespirit.orimod.common.block.light.connection.ConnectableLightTechBlock
- getPropertiesOfItem() - Method in interface etithespirit.orimod.registry.util.IBlockItemPropertiesProvider
-
Returns the properties for this ItemBlock for use in forge registries.
- getQuadSize(float) - Method in class etithespirit.orimod.client.render.particle.LightSparkParticle
- getQuadSize(float) - Method in class etithespirit.orimod.client.render.particle.LightSparkParticle.SpiritArcArrowImpactParticle
- getRandomPitch() - Static method in class etithespirit.orimod.client.audio.SpiritSoundPlayer
-
Calls
SpiritSoundPlayer.getRandomPitch(float)
with an value of 0.025f, the default deviation, which returns a value in the range of 1 ± 0.0125. - getRandomPitch(float) - Static method in class etithespirit.orimod.client.audio.SpiritSoundPlayer
-
Returns 1 ± (deviation/2), which is intended to be used for the pitch of a sound.
- getRenderBoundingBox() - Method in class etithespirit.orimod.common.tile.light.AbstractLightStorageTile
- getRenderType() - Method in class etithespirit.orimod.client.render.particle.LightSparkParticle
- getResourceLocation(Block) - Static method in class etithespirit.orimod.GeneralUtils
- getRotationAngle(ModelPart) - Method in class etithespirit.orimod.client.render.item.SpiritShieldModel
- getShape(BlockState, BlockGetter, BlockPos, CollisionContext) - Method in class etithespirit.orimod.common.block.decay.world.DecaySurfaceMyceliumBlock
-
Returns the shape of the collision box.
- getShape(BlockState, BlockGetter, BlockPos, CollisionContext) - Method in class etithespirit.orimod.common.block.light.LightConduitBlock
-
Returns the shape of the collision box.
- getSound() - Method in class etithespirit.orimod.event.EntityEmittedSoundEvent
- getSound(Entity, Player, double, double, double, SoundEvent, SoundSource, float, float) - Static method in class etithespirit.orimod.event.EntityEmittedSoundEventProvider
-
Passes the given sound through the EntityEmittedSoundEvent handler, which can systematically modify the sound based on the event it is sourced from.
- getSoundInstance() - Method in interface etithespirit.orimod.common.tile.IAmbientSoundEmitter
-
Returns a reference to the sound(s) that this emits.
- getSoundSource() - Method in class etithespirit.mixin.mixins.InjectEntityPlaySound
-
Shadows
Entity.getSoundSource()
- getSpiritAttackSound(DamageLevel) - Static method in class etithespirit.orimod.client.audio.SpiritSoundProvider
-
Returns a sound associated with attacking an entity with the given damage level.
- getSpiritAttackTypeSound(SpecialAttackType) - Static method in class etithespirit.orimod.client.audio.SpiritSoundProvider
-
Returns a sound associated with attacking an entity alongside the given damage effect.
- getSpiritBreathSound(BreathLevel) - Static method in class etithespirit.orimod.client.audio.SpiritSoundProvider
-
Returns the breath sound corresponding to the depth passed in.
- getSpiritDashSound(boolean) - Static method in class etithespirit.orimod.client.audio.SpiritSoundProvider
-
Returns a sound for dashing.
- getSpiritDeathSound(DamageSource) - Static method in class etithespirit.orimod.client.audio.SpiritSoundProvider
-
Returns a death sound that is contextual to the given damage source.
- getSpiritHurtSound(DamageSource) - Static method in class etithespirit.orimod.client.audio.SpiritSoundProvider
-
Returns the spirit damage sound.
- getSpiritJumpSound(int) - Static method in class etithespirit.orimod.client.audio.SpiritSoundProvider
-
Returns a sound based on the amount of times the player has jumped.
- getSpiritMaterial(Entity, BlockPos, BlockPos, boolean) - Method in interface etithespirit.orimod.api.delegate.ISpiritMaterialAcquisitionFunction
-
Given an entity, the block it is above, and the block it is inside of, this is expected to return an appropriate
SpiritMaterial
based on an implementor-defined context. - getSpiritShieldImpactSound(boolean) - Static method in class etithespirit.orimod.client.audio.SpiritSoundProvider
-
Returns a sound associated with a hard-light shield being impacted.
- getSpiritSizeFrom(Pose) - Static method in class etithespirit.orimod.spirit.SpiritSize
-
Given a pose, this returns the Spirit playermodel size associated with it.
- getSpiritSoundAPI() - Static method in class etithespirit.orimod.api.APIProvider
-
Returns an API that allows for custom block/material sound overrides to be registered to Spirits.
- getSpiritSplashSound(boolean) - Static method in class etithespirit.orimod.client.audio.SpiritSoundProvider
-
Returns a splashing sound for when a spirit falls into water.
- getSpiritStepSound(LivingEntity, BlockPos, BlockPos, SoundEvent) - Static method in class etithespirit.orimod.client.audio.SpiritSoundProvider
-
Returns a unique sound for stepping on a given block as a spirit.
- getSpiritStepSound(LivingEntity, SoundEvent) - Static method in class etithespirit.orimod.client.audio.SpiritSoundProvider
-
Returns a unique sound for stepping on a given block as a spirit.
- getSpiritSwimSound(boolean) - Static method in class etithespirit.orimod.client.audio.SpiritSoundProvider
-
Returns a swimming sound for spirits.
- getSpiritWallJumpSound(BlockPos) - Static method in class etithespirit.orimod.client.audio.SpiritSoundProvider
-
Returns a sound for wall jumping.
- getStateForPlacement(BlockPlaceContext) - Method in class etithespirit.orimod.common.block.light.LightConduitBlock
- getTagsForBlock() - Method in interface etithespirit.orimod.common.block.IToolRequirementProvider
-
Returns all tags that this block should be added to.
- getTagsForBlock() - Method in class etithespirit.orimod.common.block.light.HardLightBlock
- getTagsForBlock() - Method in class etithespirit.orimod.common.block.light.LightCapacitorBlock
- getTagsForBlock() - Method in class etithespirit.orimod.common.block.light.LightConduitBlock
- getTagsForBlock() - Method in class etithespirit.orimod.common.block.light.SolidLightConduitBlock
- getTextMainColor() - Method in class etithespirit.orimod.common.potion.DecayEffect
- getTextMainColor() - Method in class etithespirit.orimod.common.potion.RadiantEffect
- getTextMainColor() - Method in class etithespirit.orimod.util.RichEffect
- getTextShadowColor() - Method in class etithespirit.orimod.common.potion.DecayEffect
- getTextShadowColor() - Method in class etithespirit.orimod.common.potion.RadiantEffect
- getTextShadowColor() - Method in class etithespirit.orimod.util.RichEffect
- getTextureLocation(T) - Method in class etithespirit.orimod.client.render.entity.SpiritArrowRenderer
- getTicker(Level, BlockState, BlockEntityType<T>) - Method in class etithespirit.orimod.common.block.light.connection.ConnectableLightTechBlock
- getTileA() - Method in class etithespirit.orimod.aos.ABConnection
-
Returns a reference to the first tile of the two in this line.
- getTileB() - Method in class etithespirit.orimod.aos.ABConnection
-
Returns a reference to the second tile of the two in this line.
- getTypeOf(String) - Static method in class etithespirit.orimod.client.audio.VanillaSoundIdentifier
-
Returns the associated sound type for the given sound event name.
- getUseDuration() - Method in class etithespirit.orimod.common.item.combat.SpiritArc
- getUseDuration(ItemStack) - Method in class etithespirit.orimod.common.item.combat.SpiritArc
- getUserList() - Method in class etithespirit.orimod.server.persistence.SpiritPermissions
- getVector3i(CompoundTag, String) - Static method in class etithespirit.orimod.util.nbt.NBTIOHelper
-
Reads a
Vec3i
from the given tag. - getVolume() - Method in class etithespirit.orimod.event.EntityEmittedSoundEvent
- getVolumeForDistance(double, double) - Method in class etithespirit.orimod.client.audio.LoopingLightEnergyBlockSound
-
Returns the volume for the given distance via a linear falloff.
- getWaterMaterial(Entity, BlockPos, BlockPos, boolean) - Static method in class etithespirit.orimod.spiritmaterial.defaults.DefaultImplementations
-
A default implementation of
ISpiritMaterialAcquisitionFunction
that returns the appropriate material for water blocks based on how full the block is. - getWoodMaterial(Entity, BlockPos, BlockPos, boolean) - Static method in class etithespirit.orimod.spiritmaterial.defaults.DefaultImplementations
-
A default implementation of
ISpiritMaterialAcquisitionFunction
that returns the appropriate material for wood blocks based on the weather and nearby objects. - getX() - Method in class etithespirit.mixin.mixins.InjectEntityPlaySound
-
Shadows
Entity.getX()
- getX() - Method in class etithespirit.mixin.mixins.RedirectForSpiritPose
- getY() - Method in class etithespirit.mixin.mixins.InjectEntityPlaySound
-
Shadows
Entity.getY()
- getY() - Method in class etithespirit.mixin.mixins.RedirectForSpiritPose
- getZ() - Method in class etithespirit.mixin.mixins.InjectEntityPlaySound
-
Shadows
Entity.getZ()
- getZ() - Method in class etithespirit.mixin.mixins.RedirectForSpiritPose
- GLASS - Enum constant in enum class etithespirit.orimod.api.spiritmaterial.SpiritMaterial
-
Corresponds to glassy materials.
- GRASS_CRISP - Enum constant in enum class etithespirit.orimod.api.spiritmaterial.SpiritMaterial
-
Corresponds to crispy foliage materials.
- GRASS_SOFT - Enum constant in enum class etithespirit.orimod.api.spiritmaterial.SpiritMaterial
-
Corresponds to soft foliage materials.
- GRAVEL_DRY - Enum constant in enum class etithespirit.orimod.api.spiritmaterial.SpiritMaterial
-
Corresponds to materials akin to gravel or loose pebbles.
- GRAVEL_SNOWY - Enum constant in enum class etithespirit.orimod.api.spiritmaterial.SpiritMaterial
-
Corresponds to gravel with a layer of snow atop it.
- GRAVEL_WET - Enum constant in enum class etithespirit.orimod.api.spiritmaterial.SpiritMaterial
-
Corresponds to mushy wet gravel inside of muddy ground.
- GREEDY_ASSEMBLY_OPTIMIZATION - Static variable in class etithespirit.orimod.config.OriModConfigs
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form