JavaDocs has been cleaned-up, fixed and clarified in the following.
- IForgeFluid
- IForgeFluidState
- FluidUtil
| public interface IScreenAddon extends IGuiEventListener { | |
| /** | |
| * Draws the component in the background layer | |
| * | |
| * @param stack The {@link com.mojang.blaze3d.matrix.MatrixStack} | |
| * @param screen The current open screen | |
| * @param provider The current asset provider used in the GUI | |
| * @param guiX The gui X in the top left corner | |
| * @param guiY The gui Y in the top left corner | |
| * @param mouseX The current mouse X |
| public class PlayerRendererAddon extends BasicScreenAddon { | |
| private final PlayerEntity player; | |
| private final int scale; | |
| private boolean renderedBackground = false; | |
| public PlayerRendererAddon(int posX, int posY, PlayerEntity player, int scale) { | |
| super(posX, posY); | |
| this.player = player; | |
| this.scale = scale; |
| package com.teamacronymcoders.epos.mixin; | |
| import com.teamacronymcoders.epos.api.event.EposUnbreakingEvent; | |
| import net.minecraft.entity.player.ServerPlayerEntity; | |
| import net.minecraft.item.ItemStack; | |
| import net.minecraftforge.common.MinecraftForge; | |
| import org.spongepowered.asm.mixin.Mixin; | |
| import org.spongepowered.asm.mixin.Shadow; | |
| import org.spongepowered.asm.mixin.Unique; | |
| import org.spongepowered.asm.mixin.injection.At; |
| package com.teamacronymcoders.epos.api.event; | |
| import com.teamacronymcoders.epos.api.capability.EposCapabilities; | |
| import com.teamacronymcoders.epos.api.character.ICharacterSheet; | |
| import com.teamacronymcoders.epos.api.event.enums.EposEventType; | |
| import com.teamacronymcoders.epos.path.Path; | |
| import com.teamacronymcoders.epos.skill.Skill; | |
| import net.minecraft.entity.LivingEntity; | |
| import net.minecraft.util.ResourceLocation; | |
| import net.minecraftforge.common.util.LazyOptional; |
| package com.teamacronymcoders.epos.api.event; | |
| import com.teamacronymcoders.epos.api.capability.EposCapabilities; | |
| import com.teamacronymcoders.epos.api.character.ICharacterSheet; | |
| import com.teamacronymcoders.epos.path.Path; | |
| import com.teamacronymcoders.epos.skill.Skill; | |
| import net.minecraft.entity.LivingEntity; | |
| import net.minecraft.util.ResourceLocation; | |
| import net.minecraftforge.common.util.LazyOptional; | |
| import net.minecraftforge.event.entity.living.LivingEvent; |
| { | |
| "$schema": "http://json-schema.org/draft-04/schema#", | |
| "type": "object", | |
| "properties": { | |
| "name": { | |
| "type": "string" | |
| }, | |
| "fields": { | |
| "type": "array", | |
| "items": [ |
| /** | |
| * TODO: Clean-up Javadocs | |
| * Default Implementation mimicking water. | |
| * | |
| * @param entity Entity whose motion is being scaled. | |
| * @param motionScale The motion scale. | |
| * @return Returns if it could scale the motion. | |
| */ | |
| default boolean handleFluidAcceleration(FluidState state, Entity entity, double motionScale) { | |
| AxisAlignedBB axisalignedbb = entity.getBoundingBox().shrink(0.001D); |
| { | |
| "parent": "essence:block/essence_infusion_pedestal" | |
| } |
| package com.teamacronymcoders.essence.item.tool.misc.behaviour; | |
| import com.hrznstudio.titanium.event.handler.EventManager; | |
| import com.teamacronymcoders.essence.Essence; | |
| import com.teamacronymcoders.essence.api.holder.ModifierInstance; | |
| import com.teamacronymcoders.essence.entity.GlueBallEntity; | |
| import com.teamacronymcoders.essence.item.misc.GlueBallItem; | |
| import com.teamacronymcoders.essence.item.tool.EssenceShear; | |
| import com.teamacronymcoders.essence.registrate.EssenceItemRegistrate; |