Jump to content

dyno

Members
  • Posts

    64
  • Joined

  • Last visited

Everything posted by dyno

  1. I just would do the same rendered fluid bar of fluid Transporter of Thermal Expansion or Can Machine of IC2. Anyway, till I won't learnt to do it, I will just print the fluid contains Thanks for help
  2. I know It. But I need to draw a rectangular rendered with a different color with each itemstack contains. I.e. Water bucket > Blue rectangular, Lava bucket > Red rectangular... #blit cannot does it or yes...?
  3. Update: I read about GuiUtils#drawGradientRect(). Could it be the right method to use to draw a rectangle in GUI?
  4. Hi! I am trying to draw a rectangle in a screen. I read about Gui#drawRect(), but it is for 1.12.2. IS there any way to do it in 1.14.4? package com.olivemod.blocks.machine.energy.fluid_transporter; import java.awt.Color; import java.awt.Graphics; import java.awt.image.BufferedImage; import javax.swing.Icon; import javax.swing.ImageIcon; import com.mojang.blaze3d.platform.GlStateManager; import com.olivemod.init.BlockInit; import com.olivemod.utils.ModUtils; import com.olivemod.utils.Reference.Reference; import com.sun.javafx.iio.ImageStorage.ImageType; import net.minecraft.client.Minecraft; import net.minecraft.client.gui.screen.inventory.ContainerScreen; import net.minecraft.client.renderer.BlockRendererDispatcher; import net.minecraft.client.renderer.Tessellator; import net.minecraft.client.renderer.texture.AtlasTexture; import net.minecraft.client.renderer.texture.TextureAtlasSprite; import net.minecraft.client.renderer.texture.TextureAtlasSpriteStitcher; import net.minecraft.entity.player.PlayerInventory; import net.minecraft.fluid.Fluid; import net.minecraft.fluid.FluidState; import net.minecraft.fluid.Fluids; import net.minecraft.fluid.IFluidState; import net.minecraft.inventory.container.PlayerContainer; import net.minecraft.util.ResourceLocation; import net.minecraft.util.text.ITextComponent; import net.minecraft.util.text.TranslationTextComponent; import net.minecraftforge.energy.EnergyStorage; import net.minecraftforge.fluids.FluidStack; import sun.java2d.loops.DrawRect; public class FluidTransporterScreen extends ContainerScreen<FluidTransporterContainer>{ private static final ResourceLocation guiLocation = new ResourceLocation(Reference.MOD_ID, "textures/gui/machine/fluid_transporter_gui.png"); public FluidTransporterScreen(FluidTransporterContainer screenContainer, PlayerInventory inv, ITextComponent titleIn) { super(screenContainer, inv, titleIn); } @Override public void render(final int mouseX, final int mouseY, final float partialTick) { this.renderBackground(); super.render(mouseX, mouseY, partialTick); this.renderHoveredToolTip(mouseX, mouseY); int relMouseX = mouseX - this.guiLeft; int relMouseY = mouseY - this.guiTop; final TileEntityFluidTransporter tileEntityFluidTransporter = this.container.tileEntityFluidTransporter; boolean energyBarHovered = relMouseX > 150 && relMouseX < 170 && relMouseY > 4 && relMouseY < 81; boolean fluidBarHovered = relMouseX > 131 && relMouseX < 150 && relMouseY > 4 && relMouseY < 81; if(energyBarHovered) { String toolTip = new TranslationTextComponent("gui." + Reference.MOD_ID + ".energy", String.valueOf(tileEntityFluidTransporter.energyStorage.getEnergyStored())).getFormattedText(); this.renderTooltip(toolTip, mouseX, mouseY); } else if(fluidBarHovered) { String toolTip = new TranslationTextComponent(String.valueOf(tileEntityFluidTransporter.tank.getFluidAmount()) + "/" + String.valueOf(tileEntityFluidTransporter.tank.getCapacity())).getFormattedText(); this.renderTooltip(toolTip, mouseX, mouseY); } } @Override protected void drawGuiContainerForegroundLayer(int mouseX, int mouseY) { super.drawGuiContainerForegroundLayer(mouseX, mouseY); String string = this.title.getFormattedText(); this.font.drawString(string, (float)(this.xSize / 2 - this.font.getStringWidth(string) / 2), 6.0F, 0x404040); this.font.drawString(this.playerInventory.getDisplayName().getFormattedText(), 8.0F, (this.ySize - 96 + 2), 0x404040); if(!tileEntityFluidTransporter.tank.isEmpty()) { String fluidInTank = tileEntityFluidTransporter.tank.getFluid().getTranslationKey(); int amount = getFluidInTank(tileEntityFluidTransporter); this.font.drawString(fluidInTank + ": " + String.valueOf(amount), 9.0f, this.ySize - 95 + 2, 0x404040); DrawRect. } } @Override protected void drawGuiContainerBackgroundLayer(final float partialTicks, final int mouseX, final int mouseY) { GlStateManager.color4f(1.0F, 1.0F, 1.0F, 1.0F); this.minecraft.getTextureManager().bindTexture(guiLocation); int startX = this.guiLeft; int startY = this.guiTop; // Screen #blit draws a part of the current texture (assumed to be 256x256) to the screen // The parameters are (x, y, u, v, width, height) this.blit(startX, startY, 0, 0, this.xSize, this.ySize); final TileEntityFluidTransporter tileEntityFluidTransporter = container.tileEntityFluidTransporter; if(tileEntityFluidTransporter.energyStorage.getEnergyStored() > 0) { this.blit(startX + 151, startY + 5 + 74 - getEnergyProgressScaled(), 177, 36, 17,getEnergyProgressScaled()); } if(tileEntityFluidTransporter.cookTime > 0) { this.blit(startX + 77, startY + 15, 176, 0, getCookProgressScaled(), 36); } } private int getFluidInTank(TileEntityFluidTransporter tileEntityFluidTransporter2) { /* * First getFluid() -> returns the fluidStack * Second getFluid() -> returns the fluid */ if(tileEntityFluidTransporter2.tank.getFluid().isEmpty()) return 0; return tileEntityFluidTransporter2.tank.getFluidAmount()/tileEntityFluidTransporter2.tank.getCapacity() * 74; } final TileEntityFluidTransporter tileEntityFluidTransporter = container.tileEntityFluidTransporter; private int getCookProgressScaled() { int i = this.tileEntityFluidTransporter.cookTime; return i != 0 ? i*24/ModUtils.getCookTime(tileEntityFluidTransporter.inventory.getStackInSlot(2), tileEntityFluidTransporter.inventory.getStackInSlot(3), tileEntityFluidTransporter.inventory.getStackInSlot(4)) : 0; } private int getEnergyProgressScaled() { final EnergyStorage storage = tileEntityFluidTransporter.energyStorage; return Math.round((float)storage.getEnergyStored() / (float)storage.getMaxEnergyStored() * 74); } private static Icon getColoredRect(Color color) { BufferedImage image = new BufferedImage(19, 76, BufferedImage.TYPE_INT_RGB); Graphics graphics = image.getGraphics(); graphics.setColor(color); graphics.fillRect(130, 5, 19, 76); graphics.setColor(Color.black); return new ImageIcon(image); } } p.s. I cannot draw it on the texture because i need to render it every time with a different color.
  5. Sorry if I post the same problem, but nobody could help me in the last and I have still that problem. I am trying to render the still texture of fluid contains in the tank of TE, but I cannot do it.
  6. It Is almost useless for me because I know how to fill the bar based on a %. I am trying to render each fluid in a bar i.e. If It contains water, bar will be blue, if lava, will be red... Of course furnace doesn't do it. This is what I would do.
  7. 1.14.4
  8. How should I do to render fluids in a bar in a GUI? I read about TextureAtlasSprite on this forum, but it was on 1.15.2. I suppose to have to: get the amount of fluid and I did it with FluidTank#getFluidAmount(), get the still texture of fluid and I did it with Fluid#getAttributes()#getStill(). Now how can I do to render in the bar? package com.olivemod.blocks.machine.energy.fluid_transporter; import com.mojang.blaze3d.platform.GlStateManager; import com.olivemod.utils.ModUtils; import com.olivemod.utils.Reference.Reference; import net.minecraft.client.Minecraft; import net.minecraft.client.gui.screen.inventory.ContainerScreen; import net.minecraft.client.renderer.BlockRendererDispatcher; import net.minecraft.client.renderer.texture.TextureAtlasSprite; import net.minecraft.client.renderer.texture.TextureAtlasSpriteStitcher; import net.minecraft.entity.player.PlayerInventory; import net.minecraft.fluid.Fluid; import net.minecraft.fluid.FluidState; import net.minecraft.fluid.Fluids; import net.minecraft.fluid.IFluidState; import net.minecraft.inventory.container.PlayerContainer; import net.minecraft.util.ResourceLocation; import net.minecraft.util.text.ITextComponent; import net.minecraft.util.text.TranslationTextComponent; import net.minecraftforge.energy.EnergyStorage; import net.minecraftforge.fluids.FluidStack; public class FluidTransporterScreen extends ContainerScreen<FluidTransporterContainer>{ private static final ResourceLocation guiLocation = new ResourceLocation(Reference.MOD_ID, "textures/gui/machine/fluid_transporter_gui.png"); public FluidTransporterScreen(FluidTransporterContainer screenContainer, PlayerInventory inv, ITextComponent titleIn) { super(screenContainer, inv, titleIn); } @Override public void render(final int mouseX, final int mouseY, final float partialTick) { this.renderBackground(); super.render(mouseX, mouseY, partialTick); this.renderHoveredToolTip(mouseX, mouseY); int relMouseX = mouseX - this.guiLeft; int relMouseY = mouseY - this.guiTop; final TileEntityFluidTransporter tileEntityFluidTransporter = this.container.tileEntityFluidTransporter; boolean energyBarHovered = relMouseX > 150 && relMouseX < 170 && relMouseY > 4 && relMouseY < 81; if(energyBarHovered) { String toolTip = new TranslationTextComponent("gui." + Reference.MOD_ID + ".energy", String.valueOf(tileEntityFluidTransporter.energyStorage.getEnergyStored())).getFormattedText(); this.renderTooltip(toolTip, mouseX, mouseY); } } @Override protected void drawGuiContainerForegroundLayer(int mouseX, int mouseY) { super.drawGuiContainerForegroundLayer(mouseX, mouseY); String string = this.title.getFormattedText(); this.font.drawString(string, (float)(this.xSize / 2 - this.font.getStringWidth(string) / 2), 6.0F, 0x404040); this.font.drawString(this.playerInventory.getDisplayName().getFormattedText(), 8.0F, (this.ySize - 96 + 2), 0x404040); } @Override protected void drawGuiContainerBackgroundLayer(final float partialTicks, final int mouseX, final int mouseY) { GlStateManager.color4f(1.0F, 1.0F, 1.0F, 1.0F); this.minecraft.getTextureManager().bindTexture(guiLocation); int startX = this.guiLeft; int startY = this.guiTop; // Screen #blit draws a part of the current texture (assumed to be 256x256) to the screen // The parameters are (x, y, u, v, width, height) this.blit(startX, startY, 0, 0, this.xSize, this.ySize); final TileEntityFluidTransporter tileEntityFluidTransporter = container.tileEntityFluidTransporter; if(tileEntityFluidTransporter.energyStorage.getEnergyStored() > 0) { this.blit(startX + 151, startY + 4 + 74 - getEnergyProgressScaled(), 177, 36, 17,getEnergyProgressScaled()); } if(tileEntityFluidTransporter.cookTime > 0) { this.blit(startX + 78, startY + 17, 175, 0, getCookProgressScaled(), 36); } if(!tileEntityFluidTransporter.tank.isEmpty()) { int fluidStored = getFluidInTank(tileEntityFluidTransporter); FluidStack fluidStack = tileEntityFluidTransporter.tank.getFluid(); if(fluidStack.getFluid() != Fluids.EMPTY) { ResourceLocation stillLocation = fluidStack.getFluid().getAttributes().getStill(fluidStack); TextureAtlasSprite textureAtlasSprite = int color = fluidStack.getFluid().getAttributes().getColor(); GlStateManager.color4f(1.0f, 1.0f, 1.0f, color); } } } private int getFluidInTank(TileEntityFluidTransporter tileEntityFluidTransporter2) { /* * First getFluid() -> returns the fluidStack * Second getFluid() -> returns the fluid */ if(tileEntityFluidTransporter2.tank.getFluid().isEmpty()) return 0; return tileEntityFluidTransporter2.tank.getFluidAmount()/tileEntityFluidTransporter2.tank.getCapacity() * 74; } final TileEntityFluidTransporter tileEntityFluidTransporter = container.tileEntityFluidTransporter; private int getCookProgressScaled() { int i = this.tileEntityFluidTransporter.cookTime; return i != 0 ? i*24/ModUtils.getCookTime(tileEntityFluidTransporter.inventory.getStackInSlot(2), tileEntityFluidTransporter.inventory.getStackInSlot(3), tileEntityFluidTransporter.inventory.getStackInSlot(4)) : 0; } private int getEnergyProgressScaled() { final EnergyStorage storage = tileEntityFluidTransporter.energyStorage; return Math.round((float)storage.getEnergyStored() / (float)storage.getMaxEnergyStored() * 74); } }
  9. Oh, fixed! Thanks everyone!!! I fixed checking the block opposite the value returned by IStateHolder#get(IProperty)
  10. How could I check if it is facing the generator, being in generator TE?
  11. Yes! Particularly if the generator Is looking to front side (output side) of cell
  12. I am not english, sorry. I am not looking for Direction#getOpposite, because it wouldn't fix. I just wanna get the direction that energy cell is looking to generator with. If the cell is looking at generator with its front side(output side), it doesn't have to charge.
  13. With IStateHolder#get(BlockStateProperties.FACING)?? Because how I said, It returns the direction I placed the block, not the current side It Is looking at. To debug I send in chat its return value, It says always the direction I placed from. For example: if I place It looking at north, for each side i right click, returns always south. North if I placed It looking at south. Same thing with west and east I try to explain the achive: I have two block: a generator and a Energy Cell. In cell's code I set block will be placed with front side (output side) opposite player, like Furnace, chest do. In cell's blockstate, of course, I set front side with output side texture Now the generator TE has to extract energy only if Energy Cell isn't looking at generator with front side(output side). As IC2 batbox does: Energy can be received only if cable/generator isn't looking at its output side
  14. I have a generator that has to charge a neighbour cell, this just if the cell isn't looking at generator with the front side (That side should be the output cell's slide). I try to explain better: I would do as batBox, mfe and mfsu of IC2. They get Energy from all side, but not front front. I have tried to use IStateHolder#get(IProperty), but It returns the direction i placed the block not if the generator Is looking at front side. Can someone suggest a method? I tried to look for in some Minecraft source code, nothing to do package com.olivemod.blocks.machine.energy_cell; import net.minecraft.block.Block; import net.minecraft.block.BlockState; import net.minecraft.block.DirectionalBlock; import net.minecraft.client.Minecraft; import net.minecraft.entity.player.PlayerEntity; import net.minecraft.item.BlockItemUseContext; import net.minecraft.state.DirectionProperty; import net.minecraft.state.StateContainer.Builder; import net.minecraft.util.Direction; import net.minecraft.util.Hand; import net.minecraft.util.Mirror; import net.minecraft.util.Rotation; import net.minecraft.util.math.BlockPos; import net.minecraft.util.math.BlockRayTraceResult; import net.minecraft.util.math.RayTraceContext; import net.minecraft.world.IBlockReader; import net.minecraft.world.IWorld; import net.minecraft.world.World; public class BaseEnergyCell extends Block{ private static final DirectionProperty FACING = DirectionalBlock.FACING; protected BaseEnergyCell(Properties builder) { super(builder); this.setDefaultState(this.stateContainer.getBaseState().with(FACING, Direction.NORTH)); } @Override public boolean onBlockActivated(BlockState state, World worldIn, BlockPos pos, PlayerEntity player, Hand handIn, BlockRayTraceResult hit) { Minecraft.getInstance().player.sendChatMessage("" + state.get(FACING)); return true; } @Override public BlockState getStateForPlacement(BlockItemUseContext context) { BlockState state = super.getStateForPlacement(context); if(context != null) state = state.with(FACING, context.getNearestLookingDirection()); return state; } @Override public BlockState rotate(BlockState state, IWorld world, BlockPos pos, Rotation direction) { return state.with(FACING, direction.rotate(state.get(FACING))); } @Override public BlockState mirror(BlockState state, Mirror mirrorIn) { return state.rotate(mirrorIn.toRotation(state.get(FACING))); } @Override protected void fillStateContainer(Builder<Block, BlockState> builder) { builder.add(FACING); } }
  15. I cannot understand what i am doing wrong. It seems like forge never register TE: I tried to use an item to know if its TE has been registered. It says that it hasn't any TE Block: package com.olivemod.blocks.machine.energy_cell.copper; import com.olivemod.utils.ModTileEntityTypes; import com.olivemod.utils.Reference.NBTKeys; import com.olivemod.utils.Reference.Reference; import net.minecraft.block.Block; import net.minecraft.block.BlockState; import net.minecraft.block.ContainerBlock; import net.minecraft.block.RedstoneTorchBlock; import net.minecraft.block.material.Material; import net.minecraft.entity.LivingEntity; import net.minecraft.item.BlockItemUseContext; import net.minecraft.item.ItemStack; import net.minecraft.state.BooleanProperty; import net.minecraft.state.StateContainer.Builder; import net.minecraft.tileentity.TileEntity; import net.minecraft.util.Direction; import net.minecraft.util.Hand; import net.minecraft.util.math.BlockPos; import net.minecraft.world.IBlockReader; import net.minecraft.world.IWorld; import net.minecraft.world.World; import net.minecraftforge.common.ToolType; import net.minecraftforge.energy.CapabilityEnergy; import net.minecraftforge.fml.common.Mod; import net.minecraftforge.fml.common.Mod.EventBusSubscriber; public class CopperCell extends Block{ private static BooleanProperty energyIn = BooleanProperty.create("lit"); public CopperCell() { super(Properties.create(Material.IRON).hardnessAndResistance(5.0f).harvestTool(ToolType.PICKAXE)); this.setDefaultState(this.getDefaultState().with(energyIn, Boolean.valueOf(false))); } @Override public BlockState getStateForPlacement(BlockItemUseContext context) { return this.getDefaultState().with(energyIn, Boolean.valueOf(false)); } @Override public boolean hasTileEntity() { return true; } @Override public TileEntity createTileEntity(BlockState state, IBlockReader world) { return ModTileEntityTypes.COPPER_CELL_TE.get().create(); } @Override protected void fillStateContainer(Builder<Block, BlockState> builder) { builder.add(energyIn); } } TE: package com.olivemod.blocks.machine.energy_cell.copper; import javax.annotation.Nonnull; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.core.Logger; import com.olivemod.blocks.transfer.energy.CableType; import com.olivemod.energy.SeattableEnergyStorage.SettableEnergyStorage; import com.olivemod.utils.ModTileEntityTypes; import com.olivemod.utils.ModUtils; import com.olivemod.utils.Reference.NBTKeys; import com.sun.istack.internal.Nullable; import net.minecraft.client.renderer.texture.ITickable; import net.minecraft.nbt.CompoundNBT; import net.minecraft.network.NetworkManager; import net.minecraft.network.play.server.SUpdateTileEntityPacket; import net.minecraft.tileentity.TileEntity; import net.minecraft.tileentity.TileEntityType; import net.minecraft.util.Direction; import net.minecraftforge.common.capabilities.Capability; import net.minecraftforge.common.util.LazyOptional; import net.minecraftforge.energy.CapabilityEnergy; import net.minecraftforge.energy.IEnergyStorage; public class CopperEnergyCellTE extends TileEntity implements ITickable{ private static final int capacity = 2500; private static final int maxTransfer = 100; public final SettableEnergyStorage storage = new SettableEnergyStorage(capacity, maxTransfer); private final LazyOptional<IEnergyStorage> energyLazyOptional = LazyOptional.of( () -> this.storage); private int lastEnergy = -1; public CopperEnergyCellTE() { super(ModTileEntityTypes.COPPER_CELL_TE.get()); } public CopperEnergyCellTE(TileEntityType<?> tileEntityTypeIn) { super(tileEntityTypeIn); } @Override public void tick() { transferEnergy(capacity, maxTransfer); } private void transferEnergy(int capacity, int maxTransfer) { for (Direction direction : ModUtils.DIRECTIONS) { IEnergyStorage storage = world.getTileEntity(pos.offset(direction)).getCapability(CapabilityEnergy.ENERGY).orElse(null); if(storage != null && storage.getEnergyStored() < storage.getMaxEnergyStored() && storage.canReceive()) { storage.receiveEnergy(this.storage.extractEnergy(maxTransfer, false), false); } if(storage != null && storage.getEnergyStored() > 0 && storage.canExtract()) { this.storage.addEnergy(storage.extractEnergy(maxTransfer, false)); } //let vanilla update chunk this.markDirty(); //Notify client of a block update //This will result in the packet from getUpdatePacket beong sent to the client //Energy will be synced //Flag 2 send change to client world.notifyBlockUpdate(pos, this.getBlockState(), this.getBlockState(), 2); this.lastEnergy = storage.getEnergyStored(); } } @Override public void onDataPacket(NetworkManager net, SUpdateTileEntityPacket pkt) { this.storage.setEnergy(pkt.getNbtCompound().getInt(NBTKeys.ENERGY.getKey())); } @Override public CompoundNBT write(CompoundNBT compound) { super.write(compound); compound.putInt(NBTKeys.ENERGY.getKey(), this.storage.getEnergyStored()); return compound; } @Override public void read(CompoundNBT compound) { super.read(compound); this.storage.setEnergy(compound.getInt(NBTKeys.ENERGY.getKey())); } @Override public <T> LazyOptional<T> getCapability(Capability<T> cap) { if(cap == CapabilityEnergy.ENERGY) { return this.energyLazyOptional.cast(); } return null; } @Override public void onLoad() { if(!world.isRemote && world != null) this.lastEnergy = getCapability(CapabilityEnergy.ENERGY).orElse(null).getEnergyStored(); } /* * Retrieves packet to send to the client whenever this Tile Entity is re-sinced via World#notifyBlockUpdate. * This packet comes back client-side via (@link #onDataPacket) */ @Nullable @Override public SUpdateTileEntityPacket getUpdatePacket() { final CompoundNBT tag = new CompoundNBT(); if(tag.contains(NBTKeys.ENERGY.getKey())) tag.putInt(NBTKeys.ENERGY.getKey(), this.storage.getEnergyStored()); //We pass 0 for TileEntityTypesIn because we have a modded TE.See ClientPlayNetHandler#handlerUpdateTileEntity(SUpdateTileEntityPacket) return new SUpdateTileEntityPacket(this.pos, 0, tag); } /* * Get an NBT compount to sync to the client with SPacketChunkData, used to initial loading of the chunk or when many blocks change at once * This compound comes back to the client-side in (@link #handleUpdateTag) * The default implementation ({@link TileEntity#handleUpdateTag}) calls {@link #writeInternal)} * wich doesn't save any of our extra data so we override it to call {@link #write} instead */ @Nonnull public CompoundNBT getUpdateTag() { return this.write(new CompoundNBT()); } } ModTileEntityTypes: package com.olivemod.utils; import javax.annotation.Nonnull; import com.olivemod.blocks.cable.energy.CopperCableTE; import com.olivemod.blocks.machine.energy.crusher.TileEntityCrusher; import com.olivemod.blocks.machine.energy.electric_furnace.TileEntityElectricFurnace; import com.olivemod.blocks.machine.energy.generator.glowstone_generator.TileEntityGlowStoneGenerator; import com.olivemod.blocks.machine.energy_cell.copper.CopperEnergyCellTE; import com.olivemod.blocks.transfer.energy.EnergyCableTileEntity; import com.olivemod.init.BlockInit; import com.olivemod.utils.Reference.Reference; import net.minecraft.tileentity.TileEntityType; import net.minecraftforge.fml.RegistryObject; import net.minecraftforge.registries.DeferredRegister; import net.minecraftforge.registries.ForgeRegistries; public class ModTileEntityTypes { //HERE YOU REGISTER YOUR TEs public static final DeferredRegister<TileEntityType<?>> TILE_ENTITY_TYPE = new DeferredRegister<>(ForgeRegistries.TILE_ENTITIES, Reference.MOD_ID); public static final RegistryObject<TileEntityType<TileEntityGlowStoneGenerator>> GLOWSTONE_GENERATOR_TE = TILE_ENTITY_TYPE.register("glowstone_generator", () -> TileEntityType.Builder.create(TileEntityGlowStoneGenerator::new, BlockInit.GLOWSTONE_GENERATOR.get()).build(null)); public static final RegistryObject<TileEntityType<TileEntityElectricFurnace>> ELECTRIC_FURNACE_TE = TILE_ENTITY_TYPE.register("electric_furnace", () -> TileEntityType.Builder.create(TileEntityElectricFurnace::new, BlockInit.ELECTRIC_FURNACE.get()).build(null)); public static final RegistryObject<TileEntityType<TileEntityCrusher>> CRUSHER_TE = TILE_ENTITY_TYPE.register("crusher", () -> TileEntityType.Builder.create(TileEntityCrusher::new, BlockInit.CRUSHER.get()).build(null)); public static final RegistryObject<TileEntityType<CopperEnergyCellTE>> COPPER_CELL_TE = TILE_ENTITY_TYPE.register("copper_cell", () -> TileEntityType.Builder.create(CopperEnergyCellTE::new, BlockInit.COPPER_ENERGY_CELL.get()).build(null)); public static final RegistryObject<TileEntityType<CopperCableTE>> COPPER_CABLE_TE = TILE_ENTITY_TYPE.register("copper_cable", () -> TileEntityType.Builder.create(CopperCableTE::new, BlockInit.COPPER_CABLE.get()).build(null)); /*public static final RegistryObject<TileEntityType<GoldCableTE>> GOLD_CABLE_TE = TILE_ENTITY_TYPE.register("gold_cable", () -> TileEntityType.Builder.create(GoldCableTE::new, BlockInit.COPPER_CABLE.get()).build(null)); public static final RegistryObject<TileEntityType<RedstoneCableTE>> REDSTONE_CABLE_TE = TILE_ENTITY_TYPE.register("redstone_cable", () -> TileEntityType.Builder.create(RedstoneCableTE::new, BlockInit.COPPER_CABLE.get()).build(null)); */ }
  16. After made a custom cable, i am looking for to render it with the neighbour cable. I have read about multipart render, but I haven't found a way to use it. I tried to write it in blockstate, but problem isn't that. Log says to write each possibility of direction: I should write 2^6 possibilities!!! Console: [27mag2020 18:04:10.085] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher running: args [--gameDir, ., --launchTarget, fmluserdevclient, --fml.mcpVersion, 20190829.143755, --fml.mcVersion, 1.14.4, --fml.forgeGroup, net.minecraftforge, --fml.forgeVersion, 28.2.10, --version, MOD_DEV, --assetIndex, 1.14, --assetsDir, C:\Users\GABRIELE\.gradle\caches\forge_gradle\assets, --username, Dev, --accessToken, ????????, --userProperties, {}] [27mag2020 18:04:10.096] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher 4.1.0+62+5bfa59b starting: java version 1.8.0_231 by Oracle Corporation [27mag2020 18:04:11.278] [main/INFO] [net.minecraftforge.fml.loading.FixSSL/CORE]: Added Lets Encrypt root certificates as additional trust [27mag2020 18:04:14.602] [main/INFO] [cpw.mods.modlauncher.LaunchServiceHandler/MODLAUNCHER]: Launching target 'fmluserdevclient' with arguments [--version, MOD_DEV, --gameDir, ., --assetsDir, C:\Users\GABRIELE\.gradle\caches\forge_gradle\assets, --assetIndex, 1.14, --username, Dev, --accessToken, ????????, --userProperties, {}] [27mag2020 18:04:20.741] [Client thread/INFO] [net.minecraft.client.Minecraft/]: Setting user: Dev [27mag2020 18:04:41.847] [Client thread/WARN] [net.minecraft.client.GameSettings/]: Skipping bad option: lastServer: [27mag2020 18:04:41.899] [Client thread/INFO] [net.minecraft.client.Minecraft/]: LWJGL Version: 3.2.2 build 10 [27mag2020 18:04:45.305] [modloading-worker-1/INFO] [net.minecraftforge.common.ForgeMod/FORGEMOD]: Forge mod loading, version 28.2.10, for MC 1.14.4 with MCP 20190829.143755 [27mag2020 18:04:45.305] [modloading-worker-1/INFO] [net.minecraftforge.common.MinecraftForge/FORGE]: MinecraftForge v28.2.10 Initialized [27mag2020 18:04:53.176] [Client thread/INFO] [com.mojang.text2speech.NarratorWindows/]: Narrator library for x64 successfully loaded [27mag2020 18:04:56.596] [Thread-1/FATAL] [net.minecraftforge.common.ForgeConfig/CORE]: Forge config just got changed on the file system! [27mag2020 18:04:56.997] [Forge Version Check/INFO] [net.minecraftforge.fml.VersionChecker/]: [forge] Starting version check at https://files.minecraftforge.net/maven/net/minecraftforge/forge/promotions_slim.json [27mag2020 18:04:57.123] [Forge Version Check/WARN] [net.minecraftforge.fml.VersionChecker/]: Failed to process update information java.net.UnknownHostException: files.minecraftforge.net at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184) ~[?:1.8.0_231] at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172) ~[?:1.8.0_231] at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) ~[?:1.8.0_231] at java.net.Socket.connect(Socket.java:606) ~[?:1.8.0_231] at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:666) ~[?:1.8.0_231] at sun.security.ssl.BaseSSLSocketImpl.connect(BaseSSLSocketImpl.java:173) ~[?:1.8.0_231] at sun.net.NetworkClient.doConnect(NetworkClient.java:180) ~[?:1.8.0_231] at sun.net.www.http.HttpClient.openServer(HttpClient.java:463) ~[?:1.8.0_231] at sun.net.www.http.HttpClient.openServer(HttpClient.java:558) ~[?:1.8.0_231] at sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:264) ~[?:1.8.0_231] at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:367) ~[?:1.8.0_231] at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:191) ~[?:1.8.0_231] at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1162) ~[?:1.8.0_231] at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1056) ~[?:1.8.0_231] at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177) ~[?:1.8.0_231] at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1570) ~[?:1.8.0_231] at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1498) ~[?:1.8.0_231] at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480) ~[?:1.8.0_231] at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:352) ~[?:1.8.0_231] at net.minecraftforge.fml.VersionChecker$1.openUrlStream(VersionChecker.java:173) ~[?:?] at net.minecraftforge.fml.VersionChecker$1.process(VersionChecker.java:206) ~[?:?] at java.lang.Iterable.forEach(Iterable.java:75) [?:1.8.0_231] at net.minecraftforge.fml.VersionChecker$1.run(VersionChecker.java:157) [?:?] [27mag2020 18:04:57.160] [Forge Version Check/INFO] [net.minecraftforge.fml.VersionChecker/]: [olivemod] Starting version check at http://github.com/YourName/Your-Mod-Name/update.json [27mag2020 18:04:57.191] [Forge Version Check/WARN] [net.minecraftforge.fml.VersionChecker/]: Failed to process update information java.net.UnknownHostException: github.com at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184) ~[?:1.8.0_231] at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172) ~[?:1.8.0_231] at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) ~[?:1.8.0_231] at java.net.Socket.connect(Socket.java:606) ~[?:1.8.0_231] at java.net.Socket.connect(Socket.java:555) ~[?:1.8.0_231] at sun.net.NetworkClient.doConnect(NetworkClient.java:180) ~[?:1.8.0_231] at sun.net.www.http.HttpClient.openServer(HttpClient.java:463) ~[?:1.8.0_231] at sun.net.www.http.HttpClient.openServer(HttpClient.java:558) ~[?:1.8.0_231] at sun.net.www.http.HttpClient.<init>(HttpClient.java:242) ~[?:1.8.0_231] at sun.net.www.http.HttpClient.New(HttpClient.java:339) ~[?:1.8.0_231] at sun.net.www.http.HttpClient.New(HttpClient.java:357) ~[?:1.8.0_231] at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1226) ~[?:1.8.0_231] at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1162) ~[?:1.8.0_231] at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1056) ~[?:1.8.0_231] at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:990) ~[?:1.8.0_231] at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1570) ~[?:1.8.0_231] at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1498) ~[?:1.8.0_231] at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480) ~[?:1.8.0_231] at net.minecraftforge.fml.VersionChecker$1.openUrlStream(VersionChecker.java:173) ~[?:?] at net.minecraftforge.fml.VersionChecker$1.process(VersionChecker.java:206) ~[?:?] at java.lang.Iterable.forEach(Iterable.java:75) [?:1.8.0_231] at net.minecraftforge.fml.VersionChecker$1.run(VersionChecker.java:157) [?:?] [27mag2020 18:05:03.736] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/rubber_log.json' missing model for variant: 'olivemod:rubber_log#axis=x' [27mag2020 18:05:03.737] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/rubber_log.json' missing model for variant: 'olivemod:rubber_log#axis=y' [27mag2020 18:05:03.737] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/rubber_log.json' missing model for variant: 'olivemod:rubber_log#axis=z' [27mag2020 18:05:03.737] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/rubber_log.json' in resourcepack: 'Mod Resources': com.google.gson.stream.MalformedJsonException: Expected name at line 7 column 6 path $.variants. [27mag2020 18:05:03.787] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Unable to load model: 'olivemod:crusher' referenced from: olivemod:crusher#facing=north: java.io.FileNotFoundException: olivemod:models/crusher.json [27mag2020 18:05:03.799] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/gold_cable.json' in resourcepack: 'Mod Resources' for variant: 'facing=east': Unknown blockstate property: 'facing' [27mag2020 18:05:03.799] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/gold_cable.json' in resourcepack: 'Mod Resources' for variant: 'facing=south': Unknown blockstate property: 'facing' [27mag2020 18:05:03.799] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/gold_cable.json' in resourcepack: 'Mod Resources' for variant: 'facing=north': Unknown blockstate property: 'facing' [27mag2020 18:05:03.799] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/gold_cable.json' in resourcepack: 'Mod Resources' for variant: 'facing=west': Unknown blockstate property: 'facing' [27mag2020 18:05:03.800] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/gold_cable.json' missing model for variant: 'olivemod:gold_cable#down=true,east=false,north=false,south=true,up=true,west=true' [27mag2020 18:05:03.800] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/gold_cable.json' missing model for variant: 'olivemod:gold_cable#down=false,east=false,north=true,south=true,up=true,west=true' [27mag2020 18:05:03.800] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/gold_cable.json' missing model for variant: 'olivemod:gold_cable#down=false,east=false,north=true,south=true,up=false,west=false' [27mag2020 18:05:03.800] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/gold_cable.json' missing model for variant: 'olivemod:gold_cable#down=false,east=false,north=false,south=true,up=true,west=true' [27mag2020 18:05:03.800] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/gold_cable.json' missing model for variant: 'olivemod:gold_cable#down=false,east=false,north=false,south=false,up=false,west=false' [27mag2020 18:05:03.800] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/gold_cable.json' missing model for variant: 'olivemod:gold_cable#down=true,east=true,north=true,south=true,up=false,west=true' [27mag2020 18:05:03.801] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/gold_cable.json' missing model for variant: 'olivemod:gold_cable#down=true,east=false,north=false,south=false,up=true,west=true' [27mag2020 18:05:03.801] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/gold_cable.json' missing model for variant: 'olivemod:gold_cable#down=true,east=true,north=false,south=true,up=true,west=false' [27mag2020 18:05:03.801] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/gold_cable.json' missing model for variant: 'olivemod:gold_cable#down=true,east=false,north=true,south=false,up=true,west=false' [27mag2020 18:05:03.801] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/gold_cable.json' missing model for variant: 'olivemod:gold_cable#down=true,east=false,north=false,south=false,up=true,west=false' [27mag2020 18:05:03.801] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/gold_cable.json' missing model for variant: 'olivemod:gold_cable#down=true,east=true,north=false,south=false,up=false,west=false' [27mag2020 18:05:03.801] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/gold_cable.json' missing model for variant: 'olivemod:gold_cable#down=false,east=true,north=true,south=true,up=false,west=false' [27mag2020 18:05:03.801] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/gold_cable.json' missing model for variant: 'olivemod:gold_cable#down=true,east=false,north=true,south=true,up=true,west=true' [27mag2020 18:05:03.802] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/gold_cable.json' missing model for variant: 'olivemod:gold_cable#down=false,east=true,north=true,south=true,up=false,west=true' [27mag2020 18:05:03.802] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/gold_cable.json' missing model for variant: 'olivemod:gold_cable#down=false,east=false,north=true,south=false,up=true,west=true' [27mag2020 18:05:03.802] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/gold_cable.json' missing model for variant: 'olivemod:gold_cable#down=false,east=false,north=true,south=false,up=false,west=true' [27mag2020 18:05:03.802] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/gold_cable.json' missing model for variant: 'olivemod:gold_cable#down=true,east=false,north=true,south=false,up=true,west=true' [27mag2020 18:05:03.802] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/gold_cable.json' missing model for variant: 'olivemod:gold_cable#down=false,east=true,north=false,south=true,up=true,west=false' [27mag2020 18:05:03.802] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/gold_cable.json' missing model for variant: 'olivemod:gold_cable#down=true,east=false,north=false,south=true,up=false,west=false' [27mag2020 18:05:03.802] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/gold_cable.json' missing model for variant: 'olivemod:gold_cable#down=false,east=true,north=true,south=false,up=false,west=false' [27mag2020 18:05:03.802] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/gold_cable.json' missing model for variant: 'olivemod:gold_cable#down=true,east=true,north=false,south=true,up=true,west=true' [27mag2020 18:05:03.802] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/gold_cable.json' missing model for variant: 'olivemod:gold_cable#down=true,east=false,north=true,south=false,up=false,west=false' [27mag2020 18:05:03.802] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/gold_cable.json' missing model for variant: 'olivemod:gold_cable#down=true,east=true,north=true,south=false,up=false,west=false' [27mag2020 18:05:03.802] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/gold_cable.json' missing model for variant: 'olivemod:gold_cable#down=true,east=true,north=true,south=false,up=true,west=true' [27mag2020 18:05:03.802] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/gold_cable.json' missing model for variant: 'olivemod:gold_cable#down=true,east=false,north=true,south=true,up=false,west=true' [27mag2020 18:05:03.802] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/gold_cable.json' missing model for variant: 'olivemod:gold_cable#down=true,east=true,north=true,south=true,up=true,west=false' [27mag2020 18:05:03.803] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/gold_cable.json' missing model for variant: 'olivemod:gold_cable#down=true,east=false,north=false,south=false,up=false,west=true' [27mag2020 18:05:03.803] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/gold_cable.json' missing model for variant: 'olivemod:gold_cable#down=true,east=true,north=true,south=true,up=true,west=true' [27mag2020 18:05:03.803] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/gold_cable.json' missing model for variant: 'olivemod:gold_cable#down=false,east=false,north=false,south=true,up=true,west=false' [27mag2020 18:05:03.803] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/gold_cable.json' missing model for variant: 'olivemod:gold_cable#down=false,east=false,north=true,south=true,up=false,west=true' [27mag2020 18:05:03.803] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/gold_cable.json' missing model for variant: 'olivemod:gold_cable#down=true,east=false,north=true,south=false,up=false,west=true' [27mag2020 18:05:03.803] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/gold_cable.json' missing model for variant: 'olivemod:gold_cable#down=false,east=true,north=false,south=true,up=false,west=true' [27mag2020 18:05:03.803] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/gold_cable.json' missing model for variant: 'olivemod:gold_cable#down=false,east=false,north=false,south=false,up=true,west=true' [27mag2020 18:05:03.803] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/gold_cable.json' missing model for variant: 'olivemod:gold_cable#down=true,east=true,north=false,south=true,up=false,west=true' [27mag2020 18:05:03.803] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/gold_cable.json' missing model for variant: 'olivemod:gold_cable#down=true,east=true,north=false,south=false,up=false,west=true' [27mag2020 18:05:03.804] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/gold_cable.json' missing model for variant: 'olivemod:gold_cable#down=false,east=true,north=false,south=true,up=false,west=false' [27mag2020 18:05:03.805] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/gold_cable.json' missing model for variant: 'olivemod:gold_cable#down=true,east=false,north=true,south=true,up=true,west=false' [27mag2020 18:05:03.805] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/gold_cable.json' missing model for variant: 'olivemod:gold_cable#down=true,east=false,north=false,south=true,up=true,west=false' [27mag2020 18:05:03.806] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/gold_cable.json' missing model for variant: 'olivemod:gold_cable#down=false,east=true,north=false,south=false,up=false,west=true' [27mag2020 18:05:03.806] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/gold_cable.json' missing model for variant: 'olivemod:gold_cable#down=true,east=false,north=false,south=false,up=false,west=false' [27mag2020 18:05:03.806] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/gold_cable.json' missing model for variant: 'olivemod:gold_cable#down=true,east=true,north=true,south=false,up=true,west=false' [27mag2020 18:05:03.807] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/gold_cable.json' missing model for variant: 'olivemod:gold_cable#down=false,east=true,north=false,south=true,up=true,west=true' [27mag2020 18:05:03.807] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/gold_cable.json' missing model for variant: 'olivemod:gold_cable#down=false,east=true,north=true,south=false,up=true,west=false' [27mag2020 18:05:03.807] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/gold_cable.json' missing model for variant: 'olivemod:gold_cable#down=false,east=false,north=false,south=false,up=true,west=false' [27mag2020 18:05:03.807] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/gold_cable.json' missing model for variant: 'olivemod:gold_cable#down=false,east=false,north=false,south=true,up=false,west=true' [27mag2020 18:05:03.807] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/gold_cable.json' missing model for variant: 'olivemod:gold_cable#down=true,east=true,north=false,south=false,up=true,west=false' [27mag2020 18:05:03.807] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/gold_cable.json' missing model for variant: 'olivemod:gold_cable#down=false,east=true,north=false,south=false,up=true,west=true' [27mag2020 18:05:03.808] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/gold_cable.json' missing model for variant: 'olivemod:gold_cable#down=false,east=true,north=true,south=true,up=true,west=true' [27mag2020 18:05:03.808] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/gold_cable.json' missing model for variant: 'olivemod:gold_cable#down=true,east=true,north=false,south=false,up=true,west=true' [27mag2020 18:05:03.808] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/gold_cable.json' missing model for variant: 'olivemod:gold_cable#down=false,east=false,north=true,south=true,up=true,west=false' [27mag2020 18:05:03.808] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/gold_cable.json' missing model for variant: 'olivemod:gold_cable#down=true,east=true,north=true,south=true,up=false,west=false' [27mag2020 18:05:03.808] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/gold_cable.json' missing model for variant: 'olivemod:gold_cable#down=false,east=false,north=false,south=false,up=false,west=true' [27mag2020 18:05:03.808] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/gold_cable.json' missing model for variant: 'olivemod:gold_cable#down=false,east=false,north=false,south=true,up=false,west=false' [27mag2020 18:05:03.808] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/gold_cable.json' missing model for variant: 'olivemod:gold_cable#down=true,east=false,north=false,south=true,up=false,west=true' [27mag2020 18:05:03.808] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/gold_cable.json' missing model for variant: 'olivemod:gold_cable#down=false,east=true,north=false,south=false,up=true,west=false' [27mag2020 18:05:03.808] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/gold_cable.json' missing model for variant: 'olivemod:gold_cable#down=true,east=true,north=false,south=true,up=false,west=false' [27mag2020 18:05:03.808] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/gold_cable.json' missing model for variant: 'olivemod:gold_cable#down=false,east=true,north=true,south=false,up=false,west=true' [27mag2020 18:05:03.808] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/gold_cable.json' missing model for variant: 'olivemod:gold_cable#down=false,east=true,north=false,south=false,up=false,west=false' [27mag2020 18:05:03.809] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/gold_cable.json' missing model for variant: 'olivemod:gold_cable#down=true,east=true,north=true,south=false,up=false,west=true' [27mag2020 18:05:03.809] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/gold_cable.json' missing model for variant: 'olivemod:gold_cable#down=false,east=true,north=true,south=false,up=true,west=true' [27mag2020 18:05:03.809] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/gold_cable.json' missing model for variant: 'olivemod:gold_cable#down=true,east=false,north=true,south=true,up=false,west=false' [27mag2020 18:05:03.809] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/gold_cable.json' missing model for variant: 'olivemod:gold_cable#down=false,east=false,north=true,south=false,up=false,west=false' [27mag2020 18:05:03.809] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/gold_cable.json' missing model for variant: 'olivemod:gold_cable#down=false,east=true,north=true,south=true,up=true,west=false' [27mag2020 18:05:03.810] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/gold_cable.json' missing model for variant: 'olivemod:gold_cable#down=false,east=false,north=true,south=false,up=true,west=false' [27mag2020 18:05:03.811] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: olivemod:blockstates/redstone_cable.json: java.io.FileNotFoundException: olivemod:blockstates/redstone_cable.json [27mag2020 18:05:03.812] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/redstone_cable.json' missing model for variant: 'olivemod:redstone_cable#down=false,east=true,north=false,south=true,up=true,west=true' [27mag2020 18:05:03.812] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/redstone_cable.json' missing model for variant: 'olivemod:redstone_cable#down=true,east=true,north=false,south=true,up=false,west=true' [27mag2020 18:05:03.812] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/redstone_cable.json' missing model for variant: 'olivemod:redstone_cable#down=false,east=true,north=true,south=true,up=true,west=true' [27mag2020 18:05:03.812] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/redstone_cable.json' missing model for variant: 'olivemod:redstone_cable#down=false,east=false,north=false,south=true,up=true,west=false' [27mag2020 18:05:03.812] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/redstone_cable.json' missing model for variant: 'olivemod:redstone_cable#down=false,east=true,north=false,south=true,up=false,west=true' [27mag2020 18:05:03.812] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/redstone_cable.json' missing model for variant: 'olivemod:redstone_cable#down=false,east=false,north=true,south=false,up=false,west=false' [27mag2020 18:05:03.812] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/redstone_cable.json' missing model for variant: 'olivemod:redstone_cable#down=false,east=false,north=false,south=false,up=true,west=false' [27mag2020 18:05:03.812] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/redstone_cable.json' missing model for variant: 'olivemod:redstone_cable#down=true,east=false,north=false,south=false,up=false,west=false' [27mag2020 18:05:03.812] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/redstone_cable.json' missing model for variant: 'olivemod:redstone_cable#down=false,east=true,north=true,south=false,up=true,west=true' [27mag2020 18:05:03.812] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/redstone_cable.json' missing model for variant: 'olivemod:redstone_cable#down=true,east=true,north=true,south=true,up=true,west=true' [27mag2020 18:05:03.812] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/redstone_cable.json' missing model for variant: 'olivemod:redstone_cable#down=true,east=true,north=true,south=false,up=true,west=false' [27mag2020 18:05:03.812] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/redstone_cable.json' missing model for variant: 'olivemod:redstone_cable#down=false,east=true,north=false,south=false,up=false,west=true' [27mag2020 18:05:03.813] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/redstone_cable.json' missing model for variant: 'olivemod:redstone_cable#down=true,east=false,north=false,south=true,up=true,west=false' [27mag2020 18:05:03.813] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/redstone_cable.json' missing model for variant: 'olivemod:redstone_cable#down=false,east=true,north=true,south=false,up=true,west=false' [27mag2020 18:05:03.813] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/redstone_cable.json' missing model for variant: 'olivemod:redstone_cable#down=false,east=true,north=false,south=true,up=false,west=false' [27mag2020 18:05:03.813] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/redstone_cable.json' missing model for variant: 'olivemod:redstone_cable#down=true,east=true,north=true,south=false,up=false,west=false' [27mag2020 18:05:03.813] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/redstone_cable.json' missing model for variant: 'olivemod:redstone_cable#down=true,east=true,north=true,south=false,up=true,west=true' [27mag2020 18:05:03.813] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/redstone_cable.json' missing model for variant: 'olivemod:redstone_cable#down=true,east=false,north=true,south=false,up=false,west=true' [27mag2020 18:05:03.813] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/redstone_cable.json' missing model for variant: 'olivemod:redstone_cable#down=true,east=true,north=false,south=true,up=false,west=false' [27mag2020 18:05:03.813] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/redstone_cable.json' missing model for variant: 'olivemod:redstone_cable#down=false,east=false,north=true,south=false,up=true,west=false' [27mag2020 18:05:03.813] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/redstone_cable.json' missing model for variant: 'olivemod:redstone_cable#down=false,east=false,north=false,south=true,up=false,west=true' [27mag2020 18:05:03.813] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/redstone_cable.json' missing model for variant: 'olivemod:redstone_cable#down=true,east=true,north=true,south=false,up=false,west=true' [27mag2020 18:05:03.813] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/redstone_cable.json' missing model for variant: 'olivemod:redstone_cable#down=true,east=true,north=false,south=false,up=false,west=false' [27mag2020 18:05:03.813] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/redstone_cable.json' missing model for variant: 'olivemod:redstone_cable#down=false,east=true,north=false,south=false,up=true,west=false' [27mag2020 18:05:03.813] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/redstone_cable.json' missing model for variant: 'olivemod:redstone_cable#down=false,east=false,north=false,south=true,up=true,west=true' [27mag2020 18:05:03.813] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/redstone_cable.json' missing model for variant: 'olivemod:redstone_cable#down=true,east=true,north=true,south=true,up=false,west=true' [27mag2020 18:05:03.813] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/redstone_cable.json' missing model for variant: 'olivemod:redstone_cable#down=true,east=false,north=true,south=true,up=false,west=false' [27mag2020 18:05:03.813] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/redstone_cable.json' missing model for variant: 'olivemod:redstone_cable#down=true,east=true,north=true,south=true,up=true,west=false' [27mag2020 18:05:03.813] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/redstone_cable.json' missing model for variant: 'olivemod:redstone_cable#down=false,east=true,north=true,south=false,up=false,west=true' [27mag2020 18:05:03.813] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/redstone_cable.json' missing model for variant: 'olivemod:redstone_cable#down=false,east=false,north=false,south=false,up=false,west=true' [27mag2020 18:05:03.814] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/redstone_cable.json' missing model for variant: 'olivemod:redstone_cable#down=true,east=false,north=false,south=true,up=false,west=false' [27mag2020 18:05:03.814] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/redstone_cable.json' missing model for variant: 'olivemod:redstone_cable#down=true,east=false,north=false,south=false,up=true,west=false' [27mag2020 18:05:03.814] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/redstone_cable.json' missing model for variant: 'olivemod:redstone_cable#down=false,east=true,north=true,south=true,up=true,west=false' [27mag2020 18:05:03.814] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/redstone_cable.json' missing model for variant: 'olivemod:redstone_cable#down=true,east=false,north=true,south=false,up=true,west=false' [27mag2020 18:05:03.814] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/redstone_cable.json' missing model for variant: 'olivemod:redstone_cable#down=false,east=false,north=true,south=false,up=false,west=true' [27mag2020 18:05:03.814] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/redstone_cable.json' missing model for variant: 'olivemod:redstone_cable#down=true,east=false,north=false,south=false,up=true,west=true' [27mag2020 18:05:03.814] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/redstone_cable.json' missing model for variant: 'olivemod:redstone_cable#down=false,east=false,north=false,south=false,up=false,west=false' [27mag2020 18:05:03.814] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/redstone_cable.json' missing model for variant: 'olivemod:redstone_cable#down=false,east=true,north=true,south=true,up=false,west=false' [27mag2020 18:05:03.814] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/redstone_cable.json' missing model for variant: 'olivemod:redstone_cable#down=true,east=false,north=false,south=true,up=false,west=true' [27mag2020 18:05:03.814] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/redstone_cable.json' missing model for variant: 'olivemod:redstone_cable#down=true,east=false,north=true,south=true,up=false,west=true' [27mag2020 18:05:03.814] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/redstone_cable.json' missing model for variant: 'olivemod:redstone_cable#down=true,east=false,north=false,south=true,up=true,west=true' [27mag2020 18:05:03.814] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/redstone_cable.json' missing model for variant: 'olivemod:redstone_cable#down=true,east=false,north=true,south=false,up=false,west=false' [27mag2020 18:05:03.814] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/redstone_cable.json' missing model for variant: 'olivemod:redstone_cable#down=false,east=false,north=true,south=true,up=true,west=true' [27mag2020 18:05:03.814] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/redstone_cable.json' missing model for variant: 'olivemod:redstone_cable#down=false,east=false,north=true,south=true,up=false,west=false' [27mag2020 18:05:03.815] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/redstone_cable.json' missing model for variant: 'olivemod:redstone_cable#down=false,east=false,north=false,south=false,up=true,west=true' [27mag2020 18:05:03.815] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/redstone_cable.json' missing model for variant: 'olivemod:redstone_cable#down=false,east=false,north=true,south=true,up=false,west=true' [27mag2020 18:05:03.815] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/redstone_cable.json' missing model for variant: 'olivemod:redstone_cable#down=false,east=true,north=false,south=false,up=false,west=false' [27mag2020 18:05:03.815] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/redstone_cable.json' missing model for variant: 'olivemod:redstone_cable#down=true,east=true,north=false,south=false,up=false,west=true' [27mag2020 18:05:03.815] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/redstone_cable.json' missing model for variant: 'olivemod:redstone_cable#down=false,east=true,north=false,south=true,up=true,west=false' [27mag2020 18:05:03.816] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/redstone_cable.json' missing model for variant: 'olivemod:redstone_cable#down=false,east=true,north=true,south=true,up=false,west=true' [27mag2020 18:05:03.816] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/redstone_cable.json' missing model for variant: 'olivemod:redstone_cable#down=true,east=true,north=false,south=false,up=true,west=true' [27mag2020 18:05:03.816] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/redstone_cable.json' missing model for variant: 'olivemod:redstone_cable#down=true,east=false,north=false,south=false,up=false,west=true' [27mag2020 18:05:03.816] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/redstone_cable.json' missing model for variant: 'olivemod:redstone_cable#down=false,east=true,north=false,south=false,up=true,west=true' [27mag2020 18:05:03.817] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/redstone_cable.json' missing model for variant: 'olivemod:redstone_cable#down=false,east=false,north=false,south=true,up=false,west=false' [27mag2020 18:05:03.818] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/redstone_cable.json' missing model for variant: 'olivemod:redstone_cable#down=false,east=true,north=true,south=false,up=false,west=false' [27mag2020 18:05:03.818] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/redstone_cable.json' missing model for variant: 'olivemod:redstone_cable#down=true,east=true,north=true,south=true,up=false,west=false' [27mag2020 18:05:03.818] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/redstone_cable.json' missing model for variant: 'olivemod:redstone_cable#down=false,east=false,north=true,south=false,up=true,west=true' [27mag2020 18:05:03.818] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/redstone_cable.json' missing model for variant: 'olivemod:redstone_cable#down=true,east=false,north=true,south=true,up=true,west=false' [27mag2020 18:05:03.818] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/redstone_cable.json' missing model for variant: 'olivemod:redstone_cable#down=true,east=false,north=true,south=false,up=true,west=true' [27mag2020 18:05:03.819] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/redstone_cable.json' missing model for variant: 'olivemod:redstone_cable#down=false,east=false,north=true,south=true,up=true,west=false' [27mag2020 18:05:03.819] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/redstone_cable.json' missing model for variant: 'olivemod:redstone_cable#down=true,east=true,north=false,south=true,up=true,west=true' [27mag2020 18:05:03.819] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/redstone_cable.json' missing model for variant: 'olivemod:redstone_cable#down=true,east=false,north=true,south=true,up=true,west=true' [27mag2020 18:05:03.819] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/redstone_cable.json' missing model for variant: 'olivemod:redstone_cable#down=true,east=true,north=false,south=false,up=true,west=false' [27mag2020 18:05:03.819] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/redstone_cable.json' missing model for variant: 'olivemod:redstone_cable#down=true,east=true,north=false,south=true,up=true,west=false' [27mag2020 18:05:03.826] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/olio_block.json' missing model for variant: 'olivemod:olio_block#level=4' [27mag2020 18:05:03.827] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/olio_block.json' missing model for variant: 'olivemod:olio_block#level=3' [27mag2020 18:05:03.827] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/olio_block.json' missing model for variant: 'olivemod:olio_block#level=6' [27mag2020 18:05:03.827] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/olio_block.json' missing model for variant: 'olivemod:olio_block#level=5' [27mag2020 18:05:03.827] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/olio_block.json' missing model for variant: 'olivemod:olio_block#level=8' [27mag2020 18:05:03.828] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/olio_block.json' missing model for variant: 'olivemod:olio_block#level=7' [27mag2020 18:05:03.828] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/olio_block.json' missing model for variant: 'olivemod:olio_block#level=9' [27mag2020 18:05:03.828] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/olio_block.json' missing model for variant: 'olivemod:olio_block#level=14' [27mag2020 18:05:03.828] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/olio_block.json' missing model for variant: 'olivemod:olio_block#level=15' [27mag2020 18:05:03.828] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/olio_block.json' missing model for variant: 'olivemod:olio_block#level=12' [27mag2020 18:05:03.828] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/olio_block.json' missing model for variant: 'olivemod:olio_block#level=13' [27mag2020 18:05:03.828] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/olio_block.json' missing model for variant: 'olivemod:olio_block#level=10' [27mag2020 18:05:03.828] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/olio_block.json' missing model for variant: 'olivemod:olio_block#level=11' [27mag2020 18:05:03.828] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/olio_block.json' missing model for variant: 'olivemod:olio_block#level=0' [27mag2020 18:05:03.829] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/olio_block.json' missing model for variant: 'olivemod:olio_block#level=2' [27mag2020 18:05:03.829] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/olio_block.json' missing model for variant: 'olivemod:olio_block#level=1' [27mag2020 18:05:03.829] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/olio_block.json' in resourcepack: 'Mod Resources': Missing model, expected to find a string [27mag2020 18:05:03.830] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: olivemod:blockstates/olio_loggable_block.json: java.io.FileNotFoundException: olivemod:blockstates/olio_loggable_block.json [27mag2020 18:05:03.830] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/olio_loggable_block.json' missing model for variant: 'olivemod:olio_loggable_block#fluid_logged=true' [27mag2020 18:05:03.831] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'olivemod:blockstates/olio_loggable_block.json' missing model for variant: 'olivemod:olio_loggable_block#fluid_logged=false' [27mag2020 18:05:05.734] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Unable to load model: 'olivemod:redstone_cable#inventory' referenced from: olivemod:redstone_cable#inventory: java.io.FileNotFoundException: olivemod:models/item/redstone_cable.json [27mag2020 18:05:09.445] [Client thread/WARN] [net.minecraft.client.GameSettings/]: Skipping bad option: lastServer: [27mag2020 18:05:09.708] [Client thread/INFO] [net.minecraft.client.audio.SoundSystem/]: OpenAL initialized. [27mag2020 18:05:09.709] [Client thread/INFO] [net.minecraft.client.audio.SoundEngine/SOUNDS]: Sound engine started [27mag2020 18:05:09.998] [Client thread/INFO] [net.minecraft.client.renderer.texture.AtlasTexture/]: Created: 1024x512 textures-atlas [27mag2020 18:05:11.713] [Client thread/INFO] [net.minecraft.client.renderer.texture.AtlasTexture/]: Created: 256x256 textures/particle-atlas [27mag2020 18:05:11.723] [Client thread/INFO] [net.minecraft.client.renderer.texture.AtlasTexture/]: Created: 256x256 textures/painting-atlas [27mag2020 18:05:11.726] [Client thread/INFO] [net.minecraft.client.renderer.texture.AtlasTexture/]: Created: 128x128 textures/mob_effect-atlas [27mag2020 18:05:29.269] [Client thread/WARN] [net.minecraft.command.Commands/]: Ambiguity between arguments [teleport, destination] and [teleport, targets] with inputs: [Player, 0123, @e, dd12be42-52a9-4a91-a8a1-11c01849e498] [27mag2020 18:05:29.271] [Client thread/WARN] [net.minecraft.command.Commands/]: Ambiguity between arguments [teleport, location] and [teleport, destination] with inputs: [0.1 -0.5 .9, 0 0 0] [27mag2020 18:05:29.333] [Client thread/WARN] [net.minecraft.command.Commands/]: Ambiguity between arguments [teleport, location] and [teleport, targets] with inputs: [0.1 -0.5 .9, 0 0 0] [27mag2020 18:05:29.336] [Client thread/WARN] [net.minecraft.command.Commands/]: Ambiguity between arguments [teleport, targets] and [teleport, destination] with inputs: [Player, 0123, dd12be42-52a9-4a91-a8a1-11c01849e498] [27mag2020 18:05:29.338] [Client thread/WARN] [net.minecraft.command.Commands/]: Ambiguity between arguments [teleport, targets, location] and [teleport, targets, destination] with inputs: [0.1 -0.5 .9, 0 0 0] [27mag2020 18:05:29.669] [Server thread/INFO] [net.minecraft.server.integrated.IntegratedServer/]: Starting integrated minecraft server version 1.14.4 [27mag2020 18:05:29.669] [Server thread/INFO] [net.minecraft.server.integrated.IntegratedServer/]: Generating keypair [27mag2020 18:05:30.120] [Server thread/INFO] [net.minecraftforge.registries.GameData/REGISTRIES]: Injecting existing registry data into this SERVER instance [27mag2020 18:05:30.323] [Server thread/WARN] [net.minecraftforge.registries.ForgeRegistry/REGISTRIES]: Registry Block: Object did not get ID it asked for. Name: olivemod:olive_sapling Expected: 678 Got: 693 [27mag2020 18:05:30.323] [Server thread/WARN] [net.minecraftforge.registries.ForgeRegistry/REGISTRIES]: Registry Block: Object did not get ID it asked for. Name: olivemod:rubber_log Expected: 679 Got: 694 [27mag2020 18:05:30.324] [Server thread/WARN] [net.minecraftforge.registries.ForgeRegistry/REGISTRIES]: Registry Block: Object did not get ID it asked for. Name: olivemod:rubber_leaves Expected: 680 Got: 695 [27mag2020 18:05:30.325] [Server thread/WARN] [net.minecraftforge.registries.ForgeRegistry/REGISTRIES]: Registry Block: Object did not get ID it asked for. Name: olivemod:rubber_sapling Expected: 681 Got: 699 [27mag2020 18:05:30.326] [Server thread/WARN] [net.minecraftforge.registries.ForgeRegistry/REGISTRIES]: Registry Item: Object did not get ID it asked for. Name: olivemod:olive_sapling Expected: 951 Got: 965 [27mag2020 18:05:30.326] [Server thread/WARN] [net.minecraftforge.registries.ForgeRegistry/REGISTRIES]: Registry Item: Object did not get ID it asked for. Name: olivemod:rubber_log Expected: 953 Got: 966 [27mag2020 18:05:30.327] [Server thread/WARN] [net.minecraftforge.registries.ForgeRegistry/REGISTRIES]: Registry Item: Object did not get ID it asked for. Name: olivemod:rubber_leaves Expected: 952 Got: 969 [27mag2020 18:05:30.327] [Server thread/WARN] [net.minecraftforge.registries.ForgeRegistry/REGISTRIES]: Registry Item: Object did not get ID it asked for. Name: olivemod:redstone_cable Expected: 969 Got: 970 [27mag2020 18:05:30.327] [Server thread/WARN] [net.minecraftforge.registries.ForgeRegistry/REGISTRIES]: Registry Item: Object did not get ID it asked for. Name: olivemod:rubber_sapling Expected: 954 Got: 971 [27mag2020 18:05:30.799] [Server thread/INFO] [net.minecraft.resources.SimpleReloadableResourceManager/]: Reloading ResourceManager: Default, forge-1.14.4-28.2.10_mapped_snapshot_20190719-1.14.3-recomp.jar, main [27mag2020 18:05:35.182] [Server thread/ERROR] [net.minecraft.item.crafting.RecipeManager/]: Parsing error loading recipe olivemod:copper_helmet com.google.gson.JsonSyntaxException: Invalid pattern: each row must be the same width at net.minecraft.item.crafting.ShapedRecipe.patternFromJson(ShapedRecipe.java:245) ~[?:?] at net.minecraft.item.crafting.ShapedRecipe.access$100(ShapedRecipe.java:24) ~[?:?] at net.minecraft.item.crafting.ShapedRecipe$Serializer.read(ShapedRecipe.java:295) ~[?:?] at net.minecraft.item.crafting.ShapedRecipe$Serializer.read(ShapedRecipe.java:290) ~[?:?] at net.minecraft.item.crafting.RecipeManager.deserializeRecipe(RecipeManager.java:140) ~[?:?] at net.minecraft.item.crafting.RecipeManager.apply(RecipeManager.java:60) ~[?:?] at net.minecraft.item.crafting.RecipeManager.apply(RecipeManager.java:37) ~[?:?] at net.minecraft.client.resources.ReloadListener.lambda$reload$1(ReloadListener.java:14) ~[?:?] at java.util.concurrent.CompletableFuture.uniAccept(CompletableFuture.java:656) ~[?:1.8.0_231] at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:632) ~[?:1.8.0_231] at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:442) ~[?:1.8.0_231] at net.minecraft.resources.AsyncReloader.lambda$null$3(AsyncReloader.java:66) ~[?:?] at net.minecraft.util.concurrent.TickDelayedTask.run(TickDelayedTask.java:20) [?:?] at net.minecraft.util.concurrent.ThreadTaskExecutor.run(ThreadTaskExecutor.java:140) [?:?] at net.minecraft.util.concurrent.RecursiveEventLoop.run(RecursiveEventLoop.java:22) [?:?] at net.minecraft.util.concurrent.ThreadTaskExecutor.driveOne(ThreadTaskExecutor.java:110) [?:?] at net.minecraft.server.MinecraftServer.func_213205_aW(MinecraftServer.java:728) [?:?] at net.minecraft.server.MinecraftServer.driveOne(MinecraftServer.java:722) [?:?] at net.minecraft.util.concurrent.ThreadTaskExecutor.driveUntil(ThreadTaskExecutor.java:123) [?:?] at net.minecraft.server.MinecraftServer.loadDataPacks(MinecraftServer.java:1556) [?:?] at net.minecraft.server.MinecraftServer.loadDataPacks(MinecraftServer.java:444) [?:?] at net.minecraft.server.integrated.IntegratedServer.loadAllWorlds(IntegratedServer.java:75) [?:?] at net.minecraft.server.integrated.IntegratedServer.init(IntegratedServer.java:97) [?:?] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:624) [?:?] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_231] [27mag2020 18:05:35.209] [Server thread/ERROR] [net.minecraft.item.crafting.RecipeManager/]: Parsing error loading recipe olivemod:tin_helmet com.google.gson.JsonSyntaxException: Invalid pattern: each row must be the same width at net.minecraft.item.crafting.ShapedRecipe.patternFromJson(ShapedRecipe.java:245) ~[?:?] at net.minecraft.item.crafting.ShapedRecipe.access$100(ShapedRecipe.java:24) ~[?:?] at net.minecraft.item.crafting.ShapedRecipe$Serializer.read(ShapedRecipe.java:295) ~[?:?] at net.minecraft.item.crafting.ShapedRecipe$Serializer.read(ShapedRecipe.java:290) ~[?:?] at net.minecraft.item.crafting.RecipeManager.deserializeRecipe(RecipeManager.java:140) ~[?:?] at net.minecraft.item.crafting.RecipeManager.apply(RecipeManager.java:60) ~[?:?] at net.minecraft.item.crafting.RecipeManager.apply(RecipeManager.java:37) ~[?:?] at net.minecraft.client.resources.ReloadListener.lambda$reload$1(ReloadListener.java:14) ~[?:?] at java.util.concurrent.CompletableFuture.uniAccept(CompletableFuture.java:656) ~[?:1.8.0_231] at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:632) ~[?:1.8.0_231] at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:442) ~[?:1.8.0_231] at net.minecraft.resources.AsyncReloader.lambda$null$3(AsyncReloader.java:66) ~[?:?] at net.minecraft.util.concurrent.TickDelayedTask.run(TickDelayedTask.java:20) [?:?] at net.minecraft.util.concurrent.ThreadTaskExecutor.run(ThreadTaskExecutor.java:140) [?:?] at net.minecraft.util.concurrent.RecursiveEventLoop.run(RecursiveEventLoop.java:22) [?:?] at net.minecraft.util.concurrent.ThreadTaskExecutor.driveOne(ThreadTaskExecutor.java:110) [?:?] at net.minecraft.server.MinecraftServer.func_213205_aW(MinecraftServer.java:728) [?:?] at net.minecraft.server.MinecraftServer.driveOne(MinecraftServer.java:722) [?:?] at net.minecraft.util.concurrent.ThreadTaskExecutor.driveUntil(ThreadTaskExecutor.java:123) [?:?] at net.minecraft.server.MinecraftServer.loadDataPacks(MinecraftServer.java:1556) [?:?] at net.minecraft.server.MinecraftServer.loadDataPacks(MinecraftServer.java:444) [?:?] at net.minecraft.server.integrated.IntegratedServer.loadAllWorlds(IntegratedServer.java:75) [?:?] at net.minecraft.server.integrated.IntegratedServer.init(IntegratedServer.java:97) [?:?] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:624) [?:?] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_231] [27mag2020 18:05:35.235] [Server thread/ERROR] [net.minecraft.item.crafting.RecipeManager/]: Parsing error loading recipe olivemod:steel_helmet com.google.gson.JsonSyntaxException: Invalid pattern: each row must be the same width at net.minecraft.item.crafting.ShapedRecipe.patternFromJson(ShapedRecipe.java:245) ~[?:?] at net.minecraft.item.crafting.ShapedRecipe.access$100(ShapedRecipe.java:24) ~[?:?] at net.minecraft.item.crafting.ShapedRecipe$Serializer.read(ShapedRecipe.java:295) ~[?:?] at net.minecraft.item.crafting.ShapedRecipe$Serializer.read(ShapedRecipe.java:290) ~[?:?] at net.minecraft.item.crafting.RecipeManager.deserializeRecipe(RecipeManager.java:140) ~[?:?] at net.minecraft.item.crafting.RecipeManager.apply(RecipeManager.java:60) ~[?:?] at net.minecraft.item.crafting.RecipeManager.apply(RecipeManager.java:37) ~[?:?] at net.minecraft.client.resources.ReloadListener.lambda$reload$1(ReloadListener.java:14) ~[?:?] at java.util.concurrent.CompletableFuture.uniAccept(CompletableFuture.java:656) ~[?:1.8.0_231] at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:632) ~[?:1.8.0_231] at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:442) ~[?:1.8.0_231] at net.minecraft.resources.AsyncReloader.lambda$null$3(AsyncReloader.java:66) ~[?:?] at net.minecraft.util.concurrent.TickDelayedTask.run(TickDelayedTask.java:20) [?:?] at net.minecraft.util.concurrent.ThreadTaskExecutor.run(ThreadTaskExecutor.java:140) [?:?] at net.minecraft.util.concurrent.RecursiveEventLoop.run(RecursiveEventLoop.java:22) [?:?] at net.minecraft.util.concurrent.ThreadTaskExecutor.driveOne(ThreadTaskExecutor.java:110) [?:?] at net.minecraft.server.MinecraftServer.func_213205_aW(MinecraftServer.java:728) [?:?] at net.minecraft.server.MinecraftServer.driveOne(MinecraftServer.java:722) [?:?] at net.minecraft.util.concurrent.ThreadTaskExecutor.driveUntil(ThreadTaskExecutor.java:123) [?:?] at net.minecraft.server.MinecraftServer.loadDataPacks(MinecraftServer.java:1556) [?:?] at net.minecraft.server.MinecraftServer.loadDataPacks(MinecraftServer.java:444) [?:?] at net.minecraft.server.integrated.IntegratedServer.loadAllWorlds(IntegratedServer.java:75) [?:?] at net.minecraft.server.integrated.IntegratedServer.init(IntegratedServer.java:97) [?:?] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:624) [?:?] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_231] [27mag2020 18:05:35.246] [Server thread/ERROR] [net.minecraft.item.crafting.RecipeManager/]: Parsing error loading recipe olivemod:bronze_helmet com.google.gson.JsonSyntaxException: Invalid pattern: each row must be the same width at net.minecraft.item.crafting.ShapedRecipe.patternFromJson(ShapedRecipe.java:245) ~[?:?] at net.minecraft.item.crafting.ShapedRecipe.access$100(ShapedRecipe.java:24) ~[?:?] at net.minecraft.item.crafting.ShapedRecipe$Serializer.read(ShapedRecipe.java:295) ~[?:?] at net.minecraft.item.crafting.ShapedRecipe$Serializer.read(ShapedRecipe.java:290) ~[?:?] at net.minecraft.item.crafting.RecipeManager.deserializeRecipe(RecipeManager.java:140) ~[?:?] at net.minecraft.item.crafting.RecipeManager.apply(RecipeManager.java:60) ~[?:?] at net.minecraft.item.crafting.RecipeManager.apply(RecipeManager.java:37) ~[?:?] at net.minecraft.client.resources.ReloadListener.lambda$reload$1(ReloadListener.java:14) ~[?:?] at java.util.concurrent.CompletableFuture.uniAccept(CompletableFuture.java:656) ~[?:1.8.0_231] at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:632) ~[?:1.8.0_231] at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:442) ~[?:1.8.0_231] at net.minecraft.resources.AsyncReloader.lambda$null$3(AsyncReloader.java:66) ~[?:?] at net.minecraft.util.concurrent.TickDelayedTask.run(TickDelayedTask.java:20) [?:?] at net.minecraft.util.concurrent.ThreadTaskExecutor.run(ThreadTaskExecutor.java:140) [?:?] at net.minecraft.util.concurrent.RecursiveEventLoop.run(RecursiveEventLoop.java:22) [?:?] at net.minecraft.util.concurrent.ThreadTaskExecutor.driveOne(ThreadTaskExecutor.java:110) [?:?] at net.minecraft.server.MinecraftServer.func_213205_aW(MinecraftServer.java:728) [?:?] at net.minecraft.server.MinecraftServer.driveOne(MinecraftServer.java:722) [?:?] at net.minecraft.util.concurrent.ThreadTaskExecutor.driveUntil(ThreadTaskExecutor.java:123) [?:?] at net.minecraft.server.MinecraftServer.loadDataPacks(MinecraftServer.java:1556) [?:?] at net.minecraft.server.MinecraftServer.loadDataPacks(MinecraftServer.java:444) [?:?] at net.minecraft.server.integrated.IntegratedServer.loadAllWorlds(IntegratedServer.java:75) [?:?] at net.minecraft.server.integrated.IntegratedServer.init(IntegratedServer.java:97) [?:?] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:624) [?:?] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_231] [27mag2020 18:05:35.271] [Server thread/INFO] [net.minecraft.item.crafting.RecipeManager/]: Loaded 6 recipes [27mag2020 18:05:38.228] [Server thread/INFO] [net.minecraft.advancements.AdvancementList/]: Loaded 811 advancements [27mag2020 18:05:38.234] [Server thread/ERROR] [net.minecraftforge.common.loot.LootModifierManager/]: Couldn't read global loot modifier list from forge:loot_modifiers/global_loot_modifiers.json java.io.FileNotFoundException: forge:loot_modifiers/global_loot_modifiers.json at net.minecraft.resources.FallbackResourceManager.getAllResources(FallbackResourceManager.java:102) ~[?:?] at net.minecraft.resources.SimpleReloadableResourceManager.getAllResources(SimpleReloadableResourceManager.java:72) ~[?:?] at net.minecraftforge.common.loot.LootModifierManager.apply(LootModifierManager.java:90) ~[?:?] at net.minecraftforge.common.loot.LootModifierManager.apply(LootModifierManager.java:57) ~[?:?] at net.minecraft.client.resources.ReloadListener.lambda$reload$1(ReloadListener.java:14) ~[?:?] at java.util.concurrent.CompletableFuture.uniAccept(CompletableFuture.java:656) ~[?:1.8.0_231] at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:632) ~[?:1.8.0_231] at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:442) ~[?:1.8.0_231] at net.minecraft.resources.AsyncReloader.lambda$null$3(AsyncReloader.java:66) ~[?:?] at net.minecraft.util.concurrent.TickDelayedTask.run(TickDelayedTask.java:20) [?:?] at net.minecraft.util.concurrent.ThreadTaskExecutor.run(ThreadTaskExecutor.java:140) [?:?] at net.minecraft.util.concurrent.RecursiveEventLoop.run(RecursiveEventLoop.java:22) [?:?] at net.minecraft.util.concurrent.ThreadTaskExecutor.driveOne(ThreadTaskExecutor.java:110) [?:?] at net.minecraft.server.MinecraftServer.func_213205_aW(MinecraftServer.java:728) [?:?] at net.minecraft.server.MinecraftServer.driveOne(MinecraftServer.java:722) [?:?] at net.minecraft.util.concurrent.ThreadTaskExecutor.driveUntil(ThreadTaskExecutor.java:123) [?:?] at net.minecraft.server.MinecraftServer.loadDataPacks(MinecraftServer.java:1556) [?:?] at net.minecraft.server.MinecraftServer.loadDataPacks(MinecraftServer.java:444) [?:?] at net.minecraft.server.integrated.IntegratedServer.loadAllWorlds(IntegratedServer.java:75) [?:?] at net.minecraft.server.integrated.IntegratedServer.init(IntegratedServer.java:97) [?:?] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:624) [?:?] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_231] [27mag2020 18:05:38.829] [Server thread/INFO] [net.minecraft.server.MinecraftServer/]: Preparing start region for dimension minecraft:overworld [27mag2020 18:05:41.076] [Client thread/INFO] [net.minecraft.world.chunk.listener.LoggingChunkStatusListener/]: Preparing spawn area: 0% [27mag2020 18:05:41.078] [Client thread/INFO] [net.minecraft.world.chunk.listener.LoggingChunkStatusListener/]: Preparing spawn area: 0% [27mag2020 18:05:41.097] [Client thread/INFO] [net.minecraft.world.chunk.listener.LoggingChunkStatusListener/]: Preparing spawn area: 0% [27mag2020 18:05:41.097] [Client thread/INFO] [net.minecraft.world.chunk.listener.LoggingChunkStatusListener/]: Preparing spawn area: 0% [27mag2020 18:05:41.098] [Client thread/INFO] [net.minecraft.world.chunk.listener.LoggingChunkStatusListener/]: Preparing spawn area: 0% [27mag2020 18:05:41.519] [Client thread/INFO] [net.minecraft.world.chunk.listener.LoggingChunkStatusListener/]: Preparing spawn area: 0% [27mag2020 18:05:42.651] [Client thread/INFO] [net.minecraft.world.chunk.listener.LoggingChunkStatusListener/]: Preparing spawn area: 83% [27mag2020 18:05:42.651] [Client thread/INFO] [net.minecraft.world.chunk.listener.LoggingChunkStatusListener/]: Preparing spawn area: 83% [27mag2020 18:05:43.123] [Client thread/INFO] [net.minecraft.world.chunk.listener.LoggingChunkStatusListener/]: Preparing spawn area: 83% [27mag2020 18:05:43.399] [Client thread/INFO] [net.minecraft.world.chunk.listener.LoggingChunkStatusListener/]: Preparing spawn area: 83% [27mag2020 18:05:44.133] [Client thread/INFO] [net.minecraft.world.chunk.listener.LoggingChunkStatusListener/]: Preparing spawn area: 83% [27mag2020 18:05:44.513] [Client thread/INFO] [net.minecraft.world.chunk.listener.LoggingChunkStatusListener/]: Preparing spawn area: 83% [27mag2020 18:05:45.847] [Client thread/INFO] [net.minecraft.world.chunk.listener.LoggingChunkStatusListener/]: Preparing spawn area: 83% [27mag2020 18:05:45.847] [Client thread/INFO] [net.minecraft.world.chunk.listener.LoggingChunkStatusListener/]: Preparing spawn area: 83% [27mag2020 18:05:45.867] [Client thread/INFO] [net.minecraft.world.chunk.listener.LoggingChunkStatusListener/]: Preparing spawn area: 99% [27mag2020 18:05:45.888] [Client thread/INFO] [net.minecraft.world.chunk.listener.LoggingChunkStatusListener/]: Time elapsed: 7039 ms [27mag2020 18:05:46.508] [Server thread/INFO] [net.minecraft.world.server.ChunkManager/]: ThreadedAnvilChunkStorage (DIM1): All chunks are saved [27mag2020 18:05:46.509] [Server thread/INFO] [net.minecraft.world.server.ChunkManager/]: ThreadedAnvilChunkStorage (DIM-1): All chunks are saved [27mag2020 18:05:46.515] [Server thread/INFO] [net.minecraft.server.integrated.IntegratedServer/]: Changing view distance to 4, from 10 [27mag2020 18:05:48.728] [Client thread/WARN] [com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService/]: Couldn't look up profile properties for com.mojang.authlib.GameProfile@4136638d[id=380df991-f603-344c-a090-369bad2a924a,name=Dev,properties={},legacy=false] com.mojang.authlib.exceptions.AuthenticationUnavailableException: Cannot contact authentication server at com.mojang.authlib.yggdrasil.YggdrasilAuthenticationService.makeRequest(YggdrasilAuthenticationService.java:85) ~[authlib-1.5.25.jar:?] at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService.fillGameProfile(YggdrasilMinecraftSessionService.java:180) ~[authlib-1.5.25.jar:?] at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService.fillProfileProperties(YggdrasilMinecraftSessionService.java:173) ~[authlib-1.5.25.jar:?] at net.minecraft.client.Minecraft.launchIntegratedServer(Minecraft.java:1637) ~[forge-1.14.4-28.2.10_mapped_snapshot_20190719-1.14.3-recomp.jar:?] at net.minecraft.client.gui.screen.WorldSelectionList$Entry.func_214443_e(WorldSelectionList.java:332) ~[forge-1.14.4-28.2.10_mapped_snapshot_20190719-1.14.3-recomp.jar:?] at net.minecraft.client.gui.screen.WorldSelectionList$Entry.func_214438_a(WorldSelectionList.java:255) ~[forge-1.14.4-28.2.10_mapped_snapshot_20190719-1.14.3-recomp.jar:?] at net.minecraft.client.gui.screen.WorldSelectionList$Entry.mouseClicked(WorldSelectionList.java:228) ~[forge-1.14.4-28.2.10_mapped_snapshot_20190719-1.14.3-recomp.jar:?] at net.minecraft.client.gui.widget.list.AbstractList.mouseClicked(AbstractList.java:290) ~[forge-1.14.4-28.2.10_mapped_snapshot_20190719-1.14.3-recomp.jar:?] at net.minecraft.client.gui.INestedGuiEventHandler.mouseClicked(INestedGuiEventHandler.java:28) ~[forge-1.14.4-28.2.10_mapped_snapshot_20190719-1.14.3-recomp.jar:?] at net.minecraft.client.MouseHelper.lambda$mouseButtonCallback$0(MouseHelper.java:87) ~[forge-1.14.4-28.2.10_mapped_snapshot_20190719-1.14.3-recomp.jar:?] at net.minecraft.client.gui.screen.Screen.wrapScreenError(Screen.java:441) ~[forge-1.14.4-28.2.10_mapped_snapshot_20190719-1.14.3-recomp.jar:?] at net.minecraft.client.MouseHelper.mouseButtonCallback(MouseHelper.java:85) ~[forge-1.14.4-28.2.10_mapped_snapshot_20190719-1.14.3-recomp.jar:?] at org.lwjgl.glfw.GLFWMouseButtonCallbackI.callback(GLFWMouseButtonCallbackI.java:36) ~[lwjgl-glfw-3.2.2.jar:build 10] at org.lwjgl.system.JNI.invokeV(Native Method) ~[lwjgl-3.2.2.jar:build 10] at org.lwjgl.glfw.GLFW.glfwWaitEventsTimeout(GLFW.java:3174) ~[lwjgl-glfw-3.2.2.jar:build 10] at net.minecraft.client.MainWindow.waitFramerateLimit(MainWindow.java:286) ~[forge-1.14.4-28.2.10_mapped_snapshot_20190719-1.14.3-recomp.jar:?] at net.minecraft.client.Minecraft.updateDisplay(Minecraft.java:986) ~[forge-1.14.4-28.2.10_mapped_snapshot_20190719-1.14.3-recomp.jar:?] at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:946) ~[forge-1.14.4-28.2.10_mapped_snapshot_20190719-1.14.3-recomp.jar:?] at net.minecraft.client.Minecraft.run(Minecraft.java:384) ~[forge-1.14.4-28.2.10_mapped_snapshot_20190719-1.14.3-recomp.jar:?] at net.minecraft.client.main.Main.main(Main.java:128) ~[forge-1.14.4-28.2.10_mapped_snapshot_20190719-1.14.3-recomp.jar:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_231] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_231] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_231] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_231] at net.minecraftforge.userdev.FMLUserdevClientLaunchProvider.lambda$launchService$0(FMLUserdevClientLaunchProvider.java:55) ~[forge-1.14.4-28.2.10_mapped_snapshot_20190719-1.14.3-recomp.jar:?] at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-4.1.0.jar:?] at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:54) [modlauncher-4.1.0.jar:?] at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:72) [modlauncher-4.1.0.jar:?] at cpw.mods.modlauncher.Launcher.run(Launcher.java:81) [modlauncher-4.1.0.jar:?] at cpw.mods.modlauncher.Launcher.main(Launcher.java:65) [modlauncher-4.1.0.jar:?] at net.minecraftforge.userdev.LaunchTesting.main(LaunchTesting.java:102) [forge-1.14.4-28.2.10_mapped_snapshot_20190719-1.14.3-recomp.jar:?] Caused by: java.net.UnknownHostException: sessionserver.mojang.com at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184) ~[?:1.8.0_231] at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172) ~[?:1.8.0_231] at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) ~[?:1.8.0_231] at java.net.Socket.connect(Socket.java:606) ~[?:1.8.0_231] at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:666) ~[?:1.8.0_231] at sun.net.NetworkClient.doConnect(NetworkClient.java:175) ~[?:1.8.0_231] at sun.net.www.http.HttpClient.openServer(HttpClient.java:463) ~[?:1.8.0_231] at sun.net.www.http.HttpClient.openServer(HttpClient.java:558) ~[?:1.8.0_231] at sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:264) ~[?:1.8.0_231] at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:367) ~[?:1.8.0_231] at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:191) ~[?:1.8.0_231] at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1205) ~[?:1.8.0_231] at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1056) ~[?:1.8.0_231] at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177) ~[?:1.8.0_231] at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1570) ~[?:1.8.0_231] at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1498) ~[?:1.8.0_231] at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:268) ~[?:1.8.0_231] at com.mojang.authlib.HttpAuthenticationService.performGetRequest(HttpAuthenticationService.java:130) ~[authlib-1.5.25.jar:?] at com.mojang.authlib.yggdrasil.YggdrasilAuthenticationService.makeRequest(YggdrasilAuthenticationService.java:66) ~[authlib-1.5.25.jar:?] ... 30 more [27mag2020 18:05:48.965] [Netty Local Client IO #0/INFO] [net.minecraftforge.fml.network.NetworkHooks/]: Connected to a modded server. [27mag2020 18:05:49.465] [Server thread/INFO] [net.minecraft.server.management.PlayerList/]: Dev[local:E:ebb98103] logged in with entity id 201 at (-255.95609732326483, 7.499897106761016, 89.91075081079033) [27mag2020 18:05:49.505] [Client thread/ERROR] [net.minecraftforge.fml.network.simple.IndexedMessageCodec/SIMPLENET]: Received empty payload on channel fml:handshake [27mag2020 18:05:49.535] [Server thread/INFO] [net.minecraft.server.MinecraftServer/]: Dev joined the game [27mag2020 18:05:50.861] [Server thread/WARN] [net.minecraft.server.MinecraftServer/]: Can't keep up! Is the server overloaded? Running 2441ms or 48 ticks behind [27mag2020 18:05:51.071] [Server thread/ERROR] [net.minecraftforge.fml.network.simple.IndexedMessageCodec/SIMPLENET]: Received empty payload on channel fml:handshake [27mag2020 18:05:51.071] [Server thread/INFO] [net.minecraft.server.integrated.IntegratedServer/]: Saving and pausing game... [27mag2020 18:05:51.138] [Server thread/INFO] [net.minecraft.server.MinecraftServer/]: Saving chunks for level 'New World'/minecraft:overworld [27mag2020 18:05:51.784] [Client thread/INFO] [net.minecraft.advancements.AdvancementList/]: Loaded 60 advancements [27mag2020 18:05:52.454] [pool-3-thread-1/WARN] [com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService/]: Couldn't look up profile properties for com.mojang.authlib.GameProfile@6fecb5a0[id=380df991-f603-344c-a090-369bad2a924a,name=Dev,properties={},legacy=false] com.mojang.authlib.exceptions.AuthenticationUnavailableException: Cannot contact authentication server at com.mojang.authlib.yggdrasil.YggdrasilAuthenticationService.makeRequest(YggdrasilAuthenticationService.java:85) ~[authlib-1.5.25.jar:?] at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService.fillGameProfile(YggdrasilMinecraftSessionService.java:180) ~[authlib-1.5.25.jar:?] at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService$1.load(YggdrasilMinecraftSessionService.java:60) ~[authlib-1.5.25.jar:?] at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService$1.load(YggdrasilMinecraftSessionService.java:57) ~[authlib-1.5.25.jar:?] at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3716) ~[guava-21.0.jar:?] at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2424) ~[guava-21.0.jar:?] at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2298) ~[guava-21.0.jar:?] at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2211) ~[guava-21.0.jar:?] at com.google.common.cache.LocalCache.get(LocalCache.java:4154) ~[guava-21.0.jar:?] at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:4158) ~[guava-21.0.jar:?] at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:5147) ~[guava-21.0.jar:?] at com.google.common.cache.LocalCache$LocalLoadingCache.getUnchecked(LocalCache.java:5153) ~[guava-21.0.jar:?] at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService.fillProfileProperties(YggdrasilMinecraftSessionService.java:170) ~[authlib-1.5.25.jar:?] at net.minecraft.client.Minecraft.getProfileProperties(Minecraft.java:1953) ~[?:?] at net.minecraft.client.resources.SkinManager.lambda$loadProfileTextures$1(SkinManager.java:111) ~[?:?] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_231] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_231] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_231] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_231] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_231] Caused by: java.net.UnknownHostException: sessionserver.mojang.com at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184) ~[?:1.8.0_231] at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172) ~[?:1.8.0_231] at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) ~[?:1.8.0_231] at java.net.Socket.connect(Socket.java:606) ~[?:1.8.0_231] at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:666) ~[?:1.8.0_231] at sun.net.NetworkClient.doConnect(NetworkClient.java:175) ~[?:1.8.0_231] at sun.net.www.http.HttpClient.openServer(HttpClient.java:463) ~[?:1.8.0_231] at sun.net.www.http.HttpClient.openServer(HttpClient.java:558) ~[?:1.8.0_231] at sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:264) ~[?:1.8.0_231] at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:367) ~[?:1.8.0_231] at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:191) ~[?:1.8.0_231] at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1205) ~[?:1.8.0_231] at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1056) ~[?:1.8.0_231] at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177) ~[?:1.8.0_231] at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1570) ~[?:1.8.0_231] at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1498) ~[?:1.8.0_231] at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:268) ~[?:1.8.0_231] at com.mojang.authlib.HttpAuthenticationService.performGetRequest(HttpAuthenticationService.java:130) ~[authlib-1.5.25.jar:?] at com.mojang.authlib.yggdrasil.YggdrasilAuthenticationService.makeRequest(YggdrasilAuthenticationService.java:66) ~[authlib-1.5.25.jar:?] ... 19 more [27mag2020 18:06:18.011] [Server thread/FATAL] [net.minecraft.util.concurrent.ThreadTaskExecutor/]: Error executing task on Server java.lang.NullPointerException: null at com.olivemod.blocks.transfer.energy.EnergyCableTileEntity.getCapability(EnergyCableTileEntity.java:121) ~[?:?] at com.olivemod.blocks.transfer.energy.EnergyCableTileEntity.onLoad(EnergyCableTileEntity.java:114) ~[?:?] at net.minecraft.world.World.addTileEntity(World.java:623) ~[?:?] at net.minecraft.world.World.setTileEntity(World.java:947) ~[?:?] at net.minecraft.world.chunk.Chunk.setBlockState(Chunk.java:292) ~[?:?] at net.minecraft.world.World.setBlockState(World.java:214) ~[?:?] at net.minecraft.item.BlockItem.placeBlock(BlockItem.java:149) ~[?:?] at net.minecraft.item.BlockItem.tryPlace(BlockItem.java:57) ~[?:?] at net.minecraft.item.BlockItem.onItemUse(BlockItem.java:42) ~[?:?] at net.minecraftforge.common.ForgeHooks.onPlaceItemIntoWorld(ForgeHooks.java:610) ~[?:?] at net.minecraft.item.ItemStack.onItemUse(ItemStack.java:168) ~[?:?] at net.minecraft.server.management.PlayerInteractionManager.func_219441_a(PlayerInteractionManager.java:337) ~[?:?] at net.minecraft.network.play.ServerPlayNetHandler.processTryUseItemOnBlock(ServerPlayNetHandler.java:870) ~[?:?] at net.minecraft.network.play.client.CPlayerTryUseItemOnBlockPacket.processPacket(CPlayerTryUseItemOnBlockPacket.java:42) ~[?:?] at net.minecraft.network.play.client.CPlayerTryUseItemOnBlockPacket.processPacket(CPlayerTryUseItemOnBlockPacket.java:12) ~[?:?] at net.minecraft.network.PacketThreadUtil.lambda$checkThreadAndEnqueue$0(PacketThreadUtil.java:19) ~[?:?] at net.minecraft.util.concurrent.TickDelayedTask.run(TickDelayedTask.java:20) ~[?:?] at net.minecraft.util.concurrent.ThreadTaskExecutor.run(ThreadTaskExecutor.java:140) [?:?] at net.minecraft.util.concurrent.RecursiveEventLoop.run(RecursiveEventLoop.java:22) [?:?] at net.minecraft.util.concurrent.ThreadTaskExecutor.driveOne(ThreadTaskExecutor.java:110) [?:?] at net.minecraft.server.MinecraftServer.func_213205_aW(MinecraftServer.java:728) [?:?] at net.minecraft.server.MinecraftServer.driveOne(MinecraftServer.java:722) [?:?] at net.minecraft.util.concurrent.ThreadTaskExecutor.driveUntil(ThreadTaskExecutor.java:123) [?:?] at net.minecraft.server.MinecraftServer.runScheduledTasks(MinecraftServer.java:708) [?:?] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:652) [?:?] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_231] [27mag2020 18:06:19.198] [Server thread/FATAL] [net.minecraft.util.concurrent.ThreadTaskExecutor/]: Error executing task on Server java.lang.NullPointerException: null at com.olivemod.blocks.transfer.energy.EnergyCableTileEntity.getCapability(EnergyCableTileEntity.java:121) ~[?:?] at com.olivemod.blocks.transfer.energy.EnergyCableTileEntity.onLoad(EnergyCableTileEntity.java:114) ~[?:?] at net.minecraft.world.World.addTileEntity(World.java:623) ~[?:?] at net.minecraft.world.World.setTileEntity(World.java:947) ~[?:?] at net.minecraft.world.chunk.Chunk.setBlockState(Chunk.java:292) ~[?:?] at net.minecraft.world.World.setBlockState(World.java:214) ~[?:?] at net.minecraft.item.BlockItem.placeBlock(BlockItem.java:149) ~[?:?] at net.minecraft.item.BlockItem.tryPlace(BlockItem.java:57) ~[?:?] at net.minecraft.item.BlockItem.onItemUse(BlockItem.java:42) ~[?:?] at net.minecraftforge.common.ForgeHooks.onPlaceItemIntoWorld(ForgeHooks.java:610) ~[?:?] at net.minecraft.item.ItemStack.onItemUse(ItemStack.java:168) ~[?:?] at net.minecraft.server.management.PlayerInteractionManager.func_219441_a(PlayerInteractionManager.java:337) ~[?:?] at net.minecraft.network.play.ServerPlayNetHandler.processTryUseItemOnBlock(ServerPlayNetHandler.java:870) ~[?:?] at net.minecraft.network.play.client.CPlayerTryUseItemOnBlockPacket.processPacket(CPlayerTryUseItemOnBlockPacket.java:42) ~[?:?] at net.minecraft.network.play.client.CPlayerTryUseItemOnBlockPacket.processPacket(CPlayerTryUseItemOnBlockPacket.java:12) ~[?:?] at net.minecraft.network.PacketThreadUtil.lambda$checkThreadAndEnqueue$0(PacketThreadUtil.java:19) ~[?:?] at net.minecraft.util.concurrent.TickDelayedTask.run(TickDelayedTask.java:20) ~[?:?] at net.minecraft.util.concurrent.ThreadTaskExecutor.run(ThreadTaskExecutor.java:140) [?:?] at net.minecraft.util.concurrent.RecursiveEventLoop.run(RecursiveEventLoop.java:22) [?:?] at net.minecraft.util.concurrent.ThreadTaskExecutor.driveOne(ThreadTaskExecutor.java:110) [?:?] at net.minecraft.server.MinecraftServer.func_213205_aW(MinecraftServer.java:728) [?:?] at net.minecraft.server.MinecraftServer.driveOne(MinecraftServer.java:722) [?:?] at net.minecraft.util.concurrent.ThreadTaskExecutor.driveUntil(ThreadTaskExecutor.java:123) [?:?] at net.minecraft.server.MinecraftServer.runScheduledTasks(MinecraftServer.java:708) [?:?] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:652) [?:?] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_231] [27mag2020 18:06:23.052] [Server thread/FATAL] [net.minecraft.util.concurrent.ThreadTaskExecutor/]: Error executing task on Server java.lang.NullPointerException: null at com.olivemod.blocks.transfer.energy.EnergyCableTileEntity.getCapability(EnergyCableTileEntity.java:121) ~[?:?] at com.olivemod.blocks.transfer.energy.EnergyCableTileEntity.onLoad(EnergyCableTileEntity.java:114) ~[?:?] at net.minecraft.world.World.addTileEntity(World.java:623) ~[?:?] at net.minecraft.world.World.setTileEntity(World.java:947) ~[?:?] at net.minecraft.world.chunk.Chunk.setBlockState(Chunk.java:292) ~[?:?] at net.minecraft.world.World.setBlockState(World.java:214) ~[?:?] at net.minecraft.item.BlockItem.placeBlock(BlockItem.java:149) ~[?:?] at net.minecraft.item.BlockItem.tryPlace(BlockItem.java:57) ~[?:?] at net.minecraft.item.BlockItem.onItemUse(BlockItem.java:42) ~[?:?] at net.minecraftforge.common.ForgeHooks.onPlaceItemIntoWorld(ForgeHooks.java:610) ~[?:?] at net.minecraft.item.ItemStack.onItemUse(ItemStack.java:168) ~[?:?] at net.minecraft.server.management.PlayerInteractionManager.func_219441_a(PlayerInteractionManager.java:337) ~[?:?] at net.minecraft.network.play.ServerPlayNetHandler.processTryUseItemOnBlock(ServerPlayNetHandler.java:870) ~[?:?] at net.minecraft.network.play.client.CPlayerTryUseItemOnBlockPacket.processPacket(CPlayerTryUseItemOnBlockPacket.java:42) ~[?:?] at net.minecraft.network.play.client.CPlayerTryUseItemOnBlockPacket.processPacket(CPlayerTryUseItemOnBlockPacket.java:12) ~[?:?] at net.minecraft.network.PacketThreadUtil.lambda$checkThreadAndEnqueue$0(PacketThreadUtil.java:19) ~[?:?] at net.minecraft.util.concurrent.TickDelayedTask.run(TickDelayedTask.java:20) ~[?:?] at net.minecraft.util.concurrent.ThreadTaskExecutor.run(ThreadTaskExecutor.java:140) [?:?] at net.minecraft.util.concurrent.RecursiveEventLoop.run(RecursiveEventLoop.java:22) [?:?] at net.minecraft.util.concurrent.ThreadTaskExecutor.driveOne(ThreadTaskExecutor.java:110) [?:?] at net.minecraft.server.MinecraftServer.func_213205_aW(MinecraftServer.java:728) [?:?] at net.minecraft.server.MinecraftServer.driveOne(MinecraftServer.java:722) [?:?] at net.minecraft.util.concurrent.ThreadTaskExecutor.driveUntil(ThreadTaskExecutor.java:123) [?:?] at net.minecraft.server.MinecraftServer.runScheduledTasks(MinecraftServer.java:708) [?:?] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:652) [?:?] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_231] [27mag2020 18:06:24.450] [Server thread/FATAL] [net.minecraft.util.concurrent.ThreadTaskExecutor/]: Error executing task on Server java.lang.NullPointerException: null at com.olivemod.blocks.transfer.energy.EnergyCableTileEntity.getCapability(EnergyCableTileEntity.java:121) ~[?:?] at com.olivemod.blocks.transfer.energy.EnergyCableTileEntity.onLoad(EnergyCableTileEntity.java:114) ~[?:?] at net.minecraft.world.World.addTileEntity(World.java:623) ~[?:?] at net.minecraft.world.World.setTileEntity(World.java:947) ~[?:?] at net.minecraft.world.chunk.Chunk.setBlockState(Chunk.java:292) ~[?:?] at net.minecraft.world.World.setBlockState(World.java:214) ~[?:?] at net.minecraft.item.BlockItem.placeBlock(BlockItem.java:149) ~[?:?] at net.minecraft.item.BlockItem.tryPlace(BlockItem.java:57) ~[?:?] at net.minecraft.item.BlockItem.onItemUse(BlockItem.java:42) ~[?:?] at net.minecraftforge.common.ForgeHooks.onPlaceItemIntoWorld(ForgeHooks.java:610) ~[?:?] at net.minecraft.item.ItemStack.onItemUse(ItemStack.java:168) ~[?:?] at net.minecraft.server.management.PlayerInteractionManager.func_219441_a(PlayerInteractionManager.java:337) ~[?:?] at net.minecraft.network.play.ServerPlayNetHandler.processTryUseItemOnBlock(ServerPlayNetHandler.java:870) ~[?:?] at net.minecraft.network.play.client.CPlayerTryUseItemOnBlockPacket.processPacket(CPlayerTryUseItemOnBlockPacket.java:42) ~[?:?] at net.minecraft.network.play.client.CPlayerTryUseItemOnBlockPacket.processPacket(CPlayerTryUseItemOnBlockPacket.java:12) ~[?:?] at net.minecraft.network.PacketThreadUtil.lambda$checkThreadAndEnqueue$0(PacketThreadUtil.java:19) ~[?:?] at net.minecraft.util.concurrent.TickDelayedTask.run(TickDelayedTask.java:20) ~[?:?] at net.minecraft.util.concurrent.ThreadTaskExecutor.run(ThreadTaskExecutor.java:140) [?:?] at net.minecraft.util.concurrent.RecursiveEventLoop.run(RecursiveEventLoop.java:22) [?:?] at net.minecraft.util.concurrent.ThreadTaskExecutor.driveOne(ThreadTaskExecutor.java:110) [?:?] at net.minecraft.server.MinecraftServer.func_213205_aW(MinecraftServer.java:728) [?:?] at net.minecraft.server.MinecraftServer.driveOne(MinecraftServer.java:722) [?:?] at net.minecraft.util.concurrent.ThreadTaskExecutor.driveUntil(ThreadTaskExecutor.java:123) [?:?] at net.minecraft.server.MinecraftServer.runScheduledTasks(MinecraftServer.java:708) [?:?] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:652) [?:?] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_231] [27mag2020 18:06:26.394] [Server thread/FATAL] [net.minecraft.util.concurrent.ThreadTaskExecutor/]: Error executing task on Server java.lang.NullPointerException: null at com.olivemod.blocks.transfer.energy.EnergyCableTileEntity.getCapability(EnergyCableTileEntity.java:121) ~[?:?] at com.olivemod.blocks.transfer.energy.EnergyCableTileEntity.onLoad(EnergyCableTileEntity.java:114) ~[?:?] at net.minecraft.world.World.addTileEntity(World.java:623) ~[?:?] at net.minecraft.world.World.setTileEntity(World.java:947) ~[?:?] at net.minecraft.world.chunk.Chunk.setBlockState(Chunk.java:292) ~[?:?] at net.minecraft.world.World.setBlockState(World.java:214) ~[?:?] at net.minecraft.item.BlockItem.placeBlock(BlockItem.java:149) ~[?:?] at net.minecraft.item.BlockItem.tryPlace(BlockItem.java:57) ~[?:?] at net.minecraft.item.BlockItem.onItemUse(BlockItem.java:42) ~[?:?] at net.minecraftforge.common.ForgeHooks.onPlaceItemIntoWorld(ForgeHooks.java:610) ~[?:?] at net.minecraft.item.ItemStack.onItemUse(ItemStack.java:168) ~[?:?] at net.minecraft.server.management.PlayerInteractionManager.func_219441_a(PlayerInteractionManager.java:337) ~[?:?] at net.minecraft.network.play.ServerPlayNetHandler.processTryUseItemOnBlock(ServerPlayNetHandler.java:870) ~[?:?] at net.minecraft.network.play.client.CPlayerTryUseItemOnBlockPacket.processPacket(CPlayerTryUseItemOnBlockPacket.java:42) ~[?:?] at net.minecraft.network.play.client.CPlayerTryUseItemOnBlockPacket.processPacket(CPlayerTryUseItemOnBlockPacket.java:12) ~[?:?] at net.minecraft.network.PacketThreadUtil.lambda$checkThreadAndEnqueue$0(PacketThreadUtil.java:19) ~[?:?] at net.minecraft.util.concurrent.TickDelayedTask.run(TickDelayedTask.java:20) ~[?:?] at net.minecraft.util.concurrent.ThreadTaskExecutor.run(ThreadTaskExecutor.java:140) [?:?] at net.minecraft.util.concurrent.RecursiveEventLoop.run(RecursiveEventLoop.java:22) [?:?] at net.minecraft.util.concurrent.ThreadTaskExecutor.driveOne(ThreadTaskExecutor.java:110) [?:?] at net.minecraft.server.MinecraftServer.func_213205_aW(MinecraftServer.java:728) [?:?] at net.minecraft.server.MinecraftServer.driveOne(MinecraftServer.java:722) [?:?] at net.minecraft.util.concurrent.ThreadTaskExecutor.driveUntil(ThreadTaskExecutor.java:123) [?:?] at net.minecraft.server.MinecraftServer.runScheduledTasks(MinecraftServer.java:708) [?:?] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:652) [?:?] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_231] [27mag2020 18:06:37.097] [Server thread/FATAL] [net.minecraft.util.concurrent.ThreadTaskExecutor/]: Error executing task on Server java.lang.NullPointerException: null at com.olivemod.blocks.transfer.energy.EnergyCableTileEntity.getCapability(EnergyCableTileEntity.java:121) ~[?:?] at com.olivemod.blocks.transfer.energy.EnergyCableTileEntity.onLoad(EnergyCableTileEntity.java:114) ~[?:?] at net.minecraft.world.World.addTileEntity(World.java:623) ~[?:?] at net.minecraft.world.World.setTileEntity(World.java:947) ~[?:?] at net.minecraft.world.chunk.Chunk.setBlockState(Chunk.java:292) ~[?:?] at net.minecraft.world.World.setBlockState(World.java:214) ~[?:?] at net.minecraft.item.BlockItem.placeBlock(BlockItem.java:149) ~[?:?] at net.minecraft.item.BlockItem.tryPlace(BlockItem.java:57) ~[?:?] at net.minecraft.item.BlockItem.onItemUse(BlockItem.java:42) ~[?:?] at net.minecraftforge.common.ForgeHooks.onPlaceItemIntoWorld(ForgeHooks.java:610) ~[?:?] at net.minecraft.item.ItemStack.onItemUse(ItemStack.java:168) ~[?:?] at net.minecraft.server.management.PlayerInteractionManager.func_219441_a(PlayerInteractionManager.java:337) ~[?:?] at net.minecraft.network.play.ServerPlayNetHandler.processTryUseItemOnBlock(ServerPlayNetHandler.java:870) ~[?:?] at net.minecraft.network.play.client.CPlayerTryUseItemOnBlockPacket.processPacket(CPlayerTryUseItemOnBlockPacket.java:42) ~[?:?] at net.minecraft.network.play.client.CPlayerTryUseItemOnBlockPacket.processPacket(CPlayerTryUseItemOnBlockPacket.java:12) ~[?:?] at net.minecraft.network.PacketThreadUtil.lambda$checkThreadAndEnqueue$0(PacketThreadUtil.java:19) ~[?:?] at net.minecraft.util.concurrent.TickDelayedTask.run(TickDelayedTask.java:20) ~[?:?] at net.minecraft.util.concurrent.ThreadTaskExecutor.run(ThreadTaskExecutor.java:140) [?:?] at net.minecraft.util.concurrent.RecursiveEventLoop.run(RecursiveEventLoop.java:22) [?:?] at net.minecraft.util.concurrent.ThreadTaskExecutor.driveOne(ThreadTaskExecutor.java:110) [?:?] at net.minecraft.server.MinecraftServer.func_213205_aW(MinecraftServer.java:728) [?:?] at net.minecraft.server.MinecraftServer.driveOne(MinecraftServer.java:722) [?:?] at net.minecraft.util.concurrent.ThreadTaskExecutor.driveUntil(ThreadTaskExecutor.java:123) [?:?] at net.minecraft.server.MinecraftServer.runScheduledTasks(MinecraftServer.java:708) [?:?] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:652) [?:?] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_231] [27mag2020 18:06:38.148] [Server thread/FATAL] [net.minecraft.util.concurrent.ThreadTaskExecutor/]: Error executing task on Server java.lang.NullPointerException: null at com.olivemod.blocks.transfer.energy.EnergyCableTileEntity.getCapability(EnergyCableTileEntity.java:121) ~[?:?] at com.olivemod.blocks.transfer.energy.EnergyCableTileEntity.onLoad(EnergyCableTileEntity.java:114) ~[?:?] at net.minecraft.world.World.addTileEntity(World.java:623) ~[?:?] at net.minecraft.world.World.setTileEntity(World.java:947) ~[?:?] at net.minecraft.world.chunk.Chunk.setBlockState(Chunk.java:292) ~[?:?] at net.minecraft.world.World.setBlockState(World.java:214) ~[?:?] at net.minecraft.item.BlockItem.placeBlock(BlockItem.java:149) ~[?:?] at net.minecraft.item.BlockItem.tryPlace(BlockItem.java:57) ~[?:?] at net.minecraft.item.BlockItem.onItemUse(BlockItem.java:42) ~[?:?] at net.minecraftforge.common.ForgeHooks.onPlaceItemIntoWorld(ForgeHooks.java:610) ~[?:?] at net.minecraft.item.ItemStack.onItemUse(ItemStack.java:168) ~[?:?] at net.minecraft.server.management.PlayerInteractionManager.func_219441_a(PlayerInteractionManager.java:337) ~[?:?] at net.minecraft.network.play.ServerPlayNetHandler.processTryUseItemOnBlock(ServerPlayNetHandler.java:870) ~[?:?] at net.minecraft.network.play.client.CPlayerTryUseItemOnBlockPacket.processPacket(CPlayerTryUseItemOnBlockPacket.java:42) ~[?:?] at net.minecraft.network.play.client.CPlayerTryUseItemOnBlockPacket.processPacket(CPlayerTryUseItemOnBlockPacket.java:12) ~[?:?] at net.minecraft.network.PacketThreadUtil.lambda$checkThreadAndEnqueue$0(PacketThreadUtil.java:19) ~[?:?] at net.minecraft.util.concurrent.TickDelayedTask.run(TickDelayedTask.java:20) ~[?:?] at net.minecraft.util.concurrent.ThreadTaskExecutor.run(ThreadTaskExecutor.java:140) [?:?] at net.minecraft.util.concurrent.RecursiveEventLoop.run(RecursiveEventLoop.java:22) [?:?] at net.minecraft.util.concurrent.ThreadTaskExecutor.driveOne(ThreadTaskExecutor.java:110) [?:?] at net.minecraft.server.MinecraftServer.func_213205_aW(MinecraftServer.java:728) [?:?] at net.minecraft.server.MinecraftServer.driveOne(MinecraftServer.java:722) [?:?] at net.minecraft.util.concurrent.ThreadTaskExecutor.driveUntil(ThreadTaskExecutor.java:123) [?:?] at net.minecraft.server.MinecraftServer.runScheduledTasks(MinecraftServer.java:708) [?:?] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:652) [?:?] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_231] [27mag2020 18:06:44.939] [Server thread/ERROR] [net.minecraft.server.MinecraftServer/]: Encountered an unexpected exception net.minecraft.crash.ReportedException: Exception ticking world at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:871) ~[?:?] at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:802) ~[?:?] at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:118) ~[?:?] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:648) [?:?] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_231] Caused by: java.lang.NullPointerException at com.olivemod.blocks.transfer.energy.EnergyCableTileEntity.getUpdatePacket(EnergyCableTileEntity.java:135) ~[?:?] at net.minecraft.world.server.ChunkHolder.sendTileEntity(ChunkHolder.java:220) ~[?:?] at net.minecraft.world.server.ChunkHolder.sendChanges(ChunkHolder.java:207) ~[?:?] at net.minecraft.world.server.ServerChunkProvider.lambda$func_217220_m$5(ServerChunkProvider.java:352) ~[?:?] at it.unimi.dsi.fastutil.longs.Long2ObjectLinkedOpenHashMap$1.forEach(Long2ObjectLinkedOpenHashMap.java:1661) ~[fastutil-8.2.1.jar:?] at com.google.common.collect.Iterables$UnmodifiableIterable.forEach(Iterables.java:105) ~[guava-21.0.jar:?] at net.minecraft.world.server.ServerChunkProvider.func_217220_m(ServerChunkProvider.java:347) ~[?:?] at net.minecraft.world.server.ServerChunkProvider.tick(ServerChunkProvider.java:323) ~[?:?] at net.minecraft.world.server.ServerWorld.tick(ServerWorld.java:312) ~[?:?] at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:867) ~[?:?] ... 4 more [27mag2020 18:06:44.946] [Server thread/ERROR] [net.minecraft.server.MinecraftServer/]: This crash report has been saved to: C:\Users\GABRIELE\Minecraft modding\OM 1.14.4\run\.\crash-reports\crash-2020-05-27_18.06.44-server.txt [27mag2020 18:06:44.947] [Server thread/INFO] [net.minecraft.server.MinecraftServer/]: Stopping server [27mag2020 18:06:44.948] [Server thread/INFO] [net.minecraft.server.MinecraftServer/]: Saving players [27mag2020 18:06:44.963] [Server thread/INFO] [net.minecraft.network.play.ServerPlayNetHandler/]: Dev lost connection: Server closed [27mag2020 18:06:44.964] [Server thread/INFO] [net.minecraft.server.MinecraftServer/]: Dev left the game [27mag2020 18:06:44.980] [Server thread/INFO] [net.minecraft.network.play.ServerPlayNetHandler/]: Stopping singleplayer server as player logged out [27mag2020 18:06:44.980] [Server thread/INFO] [net.minecraft.server.MinecraftServer/]: Saving worlds [27mag2020 18:06:44.980] [Server thread/INFO] [net.minecraft.server.MinecraftServer/]: Saving chunks for level 'New World'/minecraft:overworld [27mag2020 18:06:45.045] [Server thread/ERROR] [net.minecraft.world.chunk.Chunk/]: A TileEntity type com.olivemod.blocks.cable.energy.gold.GoldCableTE has thrown an exception trying to write state. It will not persist, Report this to the mod author java.lang.NullPointerException: null at com.olivemod.blocks.transfer.energy.EnergyCableTileEntity.write(EnergyCableTileEntity.java:71) ~[?:?] at net.minecraft.world.chunk.Chunk.func_223134_j(Chunk.java:444) ~[?:?] at net.minecraft.world.chunk.storage.ChunkSerializer.write(ChunkSerializer.java:303) ~[?:?] at net.minecraft.world.server.ChunkManager.func_219229_a(ChunkManager.java:677) ~[?:?] at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174) [?:1.8.0_231] at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175) [?:1.8.0_231] at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) [?:1.8.0_231] at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1382) [?:1.8.0_231] at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482) [?:1.8.0_231] at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472) [?:1.8.0_231] at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151) [?:1.8.0_231] at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174) [?:1.8.0_231] at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) [?:1.8.0_231] at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418) [?:1.8.0_231] at net.minecraft.world.server.ChunkManager.save(ChunkManager.java:336) [?:?] at net.minecraft.world.server.ServerChunkProvider.save(ServerChunkProvider.java:309) [?:?] at net.minecraft.world.server.ServerWorld.save(ServerWorld.java:770) [?:?] at net.minecraft.server.MinecraftServer.save(MinecraftServer.java:530) [?:?] at net.minecraft.server.MinecraftServer.stopServer(MinecraftServer.java:573) [?:?] at net.minecraft.server.integrated.IntegratedServer.stopServer(IntegratedServer.java:235) [?:?] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:687) [?:?] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_231] [27mag2020 18:06:45.046] [Server thread/ERROR] [net.minecraft.world.chunk.Chunk/]: A TileEntity type com.olivemod.blocks.cable.energy.gold.GoldCableTE has thrown an exception trying to write state. It will not persist, Report this to the mod author java.lang.NullPointerException: null at com.olivemod.blocks.transfer.energy.EnergyCableTileEntity.write(EnergyCableTileEntity.java:71) ~[?:?] at net.minecraft.world.chunk.Chunk.func_223134_j(Chunk.java:444) ~[?:?] at net.minecraft.world.chunk.storage.ChunkSerializer.write(ChunkSerializer.java:303) ~[?:?] at net.minecraft.world.server.ChunkManager.func_219229_a(ChunkManager.java:677) ~[?:?] at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174) [?:1.8.0_231] at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175) [?:1.8.0_231] at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) [?:1.8.0_231] at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1382) [?:1.8.0_231] at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482) [?:1.8.0_231] at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472) [?:1.8.0_231] at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151) [?:1.8.0_231] at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174) [?:1.8.0_231] at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) [?:1.8.0_231] at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418) [?:1.8.0_231] at net.minecraft.world.server.ChunkManager.save(ChunkManager.java:336) [?:?] at net.minecraft.world.server.ServerChunkProvider.save(ServerChunkProvider.java:309) [?:?] at net.minecraft.world.server.ServerWorld.save(ServerWorld.java:770) [?:?] at net.minecraft.server.MinecraftServer.save(MinecraftServer.java:530) [?:?] at net.minecraft.server.MinecraftServer.stopServer(MinecraftServer.java:573) [?:?] at net.minecraft.server.integrated.IntegratedServer.stopServer(IntegratedServer.java:235) [?:?] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:687) [?:?] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_231] [27mag2020 18:06:45.047] [Server thread/ERROR] [net.minecraft.world.chunk.Chunk/]: A TileEntity type com.olivemod.blocks.cable.energy.copper.CopperCableTE has thrown an exception trying to write state. It will not persist, Report this to the mod author java.lang.NullPointerException: null at com.olivemod.blocks.transfer.energy.EnergyCableTileEntity.write(EnergyCableTileEntity.java:71) ~[?:?] at net.minecraft.world.chunk.Chunk.func_223134_j(Chunk.java:444) ~[?:?] at net.minecraft.world.chunk.storage.ChunkSerializer.write(ChunkSerializer.java:303) ~[?:?] at net.minecraft.world.server.ChunkManager.func_219229_a(ChunkManager.java:677) ~[?:?] at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174) [?:1.8.0_231] at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175) [?:1.8.0_231] at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) [?:1.8.0_231] at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1382) [?:1.8.0_231] at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482) [?:1.8.0_231] at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472) [?:1.8.0_231] at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151) [?:1.8.0_231] at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174) [?:1.8.0_231] at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) [?:1.8.0_231] at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418) [?:1.8.0_231] at net.minecraft.world.server.ChunkManager.save(ChunkManager.java:336) [?:?] at net.minecraft.world.server.ServerChunkProvider.save(ServerChunkProvider.java:309) [?:?] at net.minecraft.world.server.ServerWorld.save(ServerWorld.java:770) [?:?] at net.minecraft.server.MinecraftServer.save(MinecraftServer.java:530) [?:?] at net.minecraft.server.MinecraftServer.stopServer(MinecraftServer.java:573) [?:?] at net.minecraft.server.integrated.IntegratedServer.stopServer(IntegratedServer.java:235) [?:?] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:687) [?:?] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_231] [27mag2020 18:06:45.048] [Server thread/ERROR] [net.minecraft.world.chunk.Chunk/]: A TileEntity type com.olivemod.blocks.cable.energy.copper.CopperCableTE has thrown an exception trying to write state. It will not persist, Report this to the mod author java.lang.NullPointerException: null at com.olivemod.blocks.transfer.energy.EnergyCableTileEntity.write(EnergyCableTileEntity.java:71) ~[?:?] at net.minecraft.world.chunk.Chunk.func_223134_j(Chunk.java:444) ~[?:?] at net.minecraft.world.chunk.storage.ChunkSerializer.write(ChunkSerializer.java:303) ~[?:?] at net.minecraft.world.server.ChunkManager.func_219229_a(ChunkManager.java:677) ~[?:?] at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174) [?:1.8.0_231] at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175) [?:1.8.0_231] at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) [?:1.8.0_231] at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1382) [?:1.8.0_231] at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482) [?:1.8.0_231] at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472) [?:1.8.0_231] at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151) [?:1.8.0_231] at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174) [?:1.8.0_231] at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) [?:1.8.0_231] at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418) [?:1.8.0_231] at net.minecraft.world.server.ChunkManager.save(ChunkManager.java:336) [?:?] at net.minecraft.world.server.ServerChunkProvider.save(ServerChunkProvider.java:309) [?:?] at net.minecraft.world.server.ServerWorld.save(ServerWorld.java:770) [?:?] at net.minecraft.server.MinecraftServer.save(MinecraftServer.java:530) [?:?] at net.minecraft.server.MinecraftServer.stopServer(MinecraftServer.java:573) [?:?] at net.minecraft.server.integrated.IntegratedServer.stopServer(IntegratedServer.java:235) [?:?] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:687) [?:?] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_231] [27mag2020 18:06:45.049] [Server thread/ERROR] [net.minecraft.world.chunk.Chunk/]: A TileEntity type com.olivemod.blocks.cable.energy.copper.CopperCableTE has thrown an exception trying to write state. It will not persist, Report this to the mod author java.lang.NullPointerException: null at com.olivemod.blocks.transfer.energy.EnergyCableTileEntity.write(EnergyCableTileEntity.java:71) ~[?:?] at net.minecraft.world.chunk.Chunk.func_223134_j(Chunk.java:444) ~[?:?] at net.minecraft.world.chunk.storage.ChunkSerializer.write(ChunkSerializer.java:303) ~[?:?] at net.minecraft.world.server.ChunkManager.func_219229_a(ChunkManager.java:677) ~[?:?] at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174) [?:1.8.0_231] at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175) [?:1.8.0_231] at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) [?:1.8.0_231] at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1382) [?:1.8.0_231] at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482) [?:1.8.0_231] at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472) [?:1.8.0_231] at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151) [?:1.8.0_231] at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174) [?:1.8.0_231] at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) [?:1.8.0_231] at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418) [?:1.8.0_231] at net.minecraft.world.server.ChunkManager.save(ChunkManager.java:336) [?:?] at net.minecraft.world.server.ServerChunkProvider.save(ServerChunkProvider.java:309) [?:?] at net.minecraft.world.server.ServerWorld.save(ServerWorld.java:770) [?:?] at net.minecraft.server.MinecraftServer.save(MinecraftServer.java:530) [?:?] at net.minecraft.server.MinecraftServer.stopServer(MinecraftServer.java:573) [?:?] at net.minecraft.server.integrated.IntegratedServer.stopServer(IntegratedServer.java:235) [?:?] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:687) [?:?] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_231] [27mag2020 18:06:45.050] [Server thread/ERROR] [net.minecraft.world.chunk.Chunk/]: A TileEntity type com.olivemod.blocks.cable.energy.copper.CopperCableTE has thrown an exception trying to write state. It will not persist, Report this to the mod author java.lang.NullPointerException: null at com.olivemod.blocks.transfer.energy.EnergyCableTileEntity.write(EnergyCableTileEntity.java:71) ~[?:?] at net.minecraft.world.chunk.Chunk.func_223134_j(Chunk.java:444) ~[?:?] at net.minecraft.world.chunk.storage.ChunkSerializer.write(ChunkSerializer.java:303) ~[?:?] at net.minecraft.world.server.ChunkManager.func_219229_a(ChunkManager.java:677) ~[?:?] at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174) [?:1.8.0_231] at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175) [?:1.8.0_231] at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) [?:1.8.0_231] at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1382) [?:1.8.0_231] at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482) [?:1.8.0_231] at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472) [?:1.8.0_231] at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151) [?:1.8.0_231] at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174) [?:1.8.0_231] at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) [?:1.8.0_231] at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418) [?:1.8.0_231] at net.minecraft.world.server.ChunkManager.save(ChunkManager.java:336) [?:?] at net.minecraft.world.server.ServerChunkProvider.save(ServerChunkProvider.java:309) [?:?] at net.minecraft.world.server.ServerWorld.save(ServerWorld.java:770) [?:?] at net.minecraft.server.MinecraftServer.save(MinecraftServer.java:530) [?:?] at net.minecraft.server.MinecraftServer.stopServer(MinecraftServer.java:573) [?:?] at net.minecraft.server.integrated.IntegratedServer.stopServer(IntegratedServer.java:235) [?:?] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:687) [?:?] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_231] [27mag2020 18:06:45.051] [Server thread/ERROR] [net.minecraft.world.chunk.Chunk/]: A TileEntity type com.olivemod.blocks.cable.energy.copper.CopperCableTE has thrown an exception trying to write state. It will not persist, Report this to the mod author java.lang.NullPointerException: null at com.olivemod.blocks.transfer.energy.EnergyCableTileEntity.write(EnergyCableTileEntity.java:71) ~[?:?] at net.minecraft.world.chunk.Chunk.func_223134_j(Chunk.java:444) ~[?:?] at net.minecraft.world.chunk.storage.ChunkSerializer.write(ChunkSerializer.java:303) ~[?:?] at net.minecraft.world.server.ChunkManager.func_219229_a(ChunkManager.java:677) ~[?:?] at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174) [?:1.8.0_231] at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175) [?:1.8.0_231] at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) [?:1.8.0_231] at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1382) [?:1.8.0_231] at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482) [?:1.8.0_231] at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472) [?:1.8.0_231] at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151) [?:1.8.0_231] at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174) [?:1.8.0_231] at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) [?:1.8.0_231] at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418) [?:1.8.0_231] at net.minecraft.world.server.ChunkManager.save(ChunkManager.java:336) [?:?] at net.minecraft.world.server.ServerChunkProvider.save(ServerChunkProvider.java:309) [?:?] at net.minecraft.world.server.ServerWorld.save(ServerWorld.java:770) [?:?] at net.minecraft.server.MinecraftServer.save(MinecraftServer.java:530) [?:?] at net.minecraft.server.MinecraftServer.stopServer(MinecraftServer.java:573) [?:?] at net.minecraft.server.integrated.IntegratedServer.stopServer(IntegratedServer.java:235) [?:?] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:687) [?:?] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_231] [27mag2020 18:06:45.232] [Server thread/INFO] [net.minecraft.world.server.ChunkManager/]: ThreadedAnvilChunkStorage (New World): All chunks are saved [27mag2020 18:06:45.250] [Server thread/INFO] [net.minecraft.world.server.ChunkManager/]: ThreadedAnvilChunkStorage (New World): All chunks are saved BaseEnergyCable class: package com.olivemod.blocks.transfer.energy; import java.util.stream.Collectors; import java.util.stream.Stream; import com.google.common.collect.ImmutableList; import com.olivemod.utils.ModUtils; import net.minecraft.block.Block; import net.minecraft.block.BlockState; import net.minecraft.state.BooleanProperty; import net.minecraft.state.IProperty; import net.minecraft.state.StateContainer.Builder; import net.minecraft.util.Direction; import net.minecraft.util.math.AxisAlignedBB; import net.minecraft.util.math.BlockPos; import net.minecraft.util.math.Vec3i; import net.minecraft.world.IWorld; import net.minecraft.world.IWorldReader; public class BaseEnergyCable extends Block { public static final float CABLE_MIN_POS = 0.25f; public static final float CABLE_MAX_POS = 0.75f; public static final ImmutableList<IProperty<Boolean>> CONNECTED_PROPERTIES = ImmutableList.copyOf(Stream.of(ModUtils.DIRECTIONS).map(facing -> BooleanProperty.create(facing.getName())).collect(Collectors.toList())); public static final ImmutableList<AxisAlignedBB> CONNECTED_BOUNDING_BOXES = ImmutableList.copyOf( Stream.of(ModUtils.DIRECTIONS).map(facing -> { Vec3i directionVec = facing.getDirectionVec(); return new AxisAlignedBB( getMinBound(directionVec.getX()), getMinBound(directionVec.getY()), getMinBound(directionVec.getZ()), getMaxBound(directionVec.getX()), getMaxBound(directionVec.getY()), getMaxBound(directionVec.getZ()) ); }).collect(Collectors.toList()) ); private static float getMaxBound(final int dir) { return dir == -1 ? 0 : CABLE_MIN_POS; } private static float getMinBound(final int dir) { return dir == 1 ? 1 : CABLE_MAX_POS; } /* * Get the connected property for the specified direction * * @param direction The direction * @return The property */ public static IProperty<Boolean> getConnectedProperty(final Direction direction) { return CONNECTED_PROPERTIES.get(direction.getIndex()); } public BaseEnergyCable(Properties properties) { super(properties); } @Override protected void fillStateContainer(Builder<Block, BlockState> builder) { CONNECTED_PROPERTIES.forEach(builder::add); } /* * This method return if the neighbour block can be connected to the cable * * @param cableState: this cable's state * @param neighbourCableState: the neighbouring cable's state * @param world: the world * @param cablePos: this cable's position * @param neighbourDirection: the neighbour cable's direction * * @return Is the neighbour block a valid connection? */ protected boolean isValidConnection(final BlockState cableState, final BlockState neighbourCableState, final IWorldReader world, final BlockPos cablePos, final Direction neighbourDirection) { return cableState.getBlock() instanceof BaseEnergyCable; } /* * This method return if the cable can connecte to the neighbour block * * @param cableState: this cable's state * @param world: the world * @param cablePos: this cable's position * @param neighbourDirection: the neighbour cable's direction * * @return Is the neighbour block a valid connection? */ protected boolean canCableConnect(final BlockState cableState, final IWorldReader world, final BlockPos cablePos, final Direction neighbourDirection) { final BlockPos neighbourPos = cablePos.offset(neighbourDirection); final BlockState neighbourBlockState = world.getBlockState(neighbourPos); final Block neighbourBlock = neighbourBlockState.getBlock(); final boolean neighbourIsValidToConnect = isValidConnection(cableState, neighbourBlockState, world, cablePos, neighbourDirection); final boolean isThisValidToConnect = !(neighbourBlock instanceof BaseEnergyCable) || ((BaseEnergyCable) neighbourBlock).isValidConnection(neighbourBlockState, cableState, world, neighbourPos, neighbourDirection.getOpposite()); return neighbourIsValidToConnect && isThisValidToConnect; } @Override public BlockState updatePostPlacement(BlockState stateIn, final Direction facing,final BlockState facingState, final IWorld worldIn, final BlockPos currentPos, final BlockPos facingPos) { for(final Direction neighbourDirection : Direction.values()) { stateIn.with(CONNECTED_PROPERTIES.get(facing.getIndex()), canCableConnect(stateIn, worldIn, currentPos, neighbourDirection)); } return stateIn; } public final boolean isConnected(final BlockState state, final Direction direction) { return state.get(CONNECTED_PROPERTIES.get(direction.getIndex())); } /* // TODO: Convert this to VoxelShapes @SuppressWarnings("deprecation") @Override public void addCollisionBoxToList(IBlockState state, final World worldIn, final BlockPos pos, final AxisAlignedBB entityBox, final List<AxisAlignedBB> collidingBoxes, @Nullable final Entity entityIn, final boolean p_185477_7_) { final AxisAlignedBB bb = new AxisAlignedBB(PIPE_MIN_POS, PIPE_MIN_POS, PIPE_MIN_POS, PIPE_MAX_POS, PIPE_MAX_POS, PIPE_MAX_POS); addCollisionBoxToList(pos, entityBox, collidingBoxes, bb); if (!p_185477_7_) { state = state.getActualState(worldIn, pos); } for (final Direction facing : Direction.VALUES) { if (isConnected(state, facing)) { final AxisAlignedBB axisAlignedBB = CONNECTED_BOUNDING_BOXES.get(facing.getIndex()); addCollisionBoxToList(pos, entityBox, collidingBoxes, axisAlignedBB); } } }*/ } EnergyCable class: package com.olivemod.blocks.transfer.energy; import net.minecraft.block.Block; import net.minecraft.block.BlockState; import net.minecraft.tileentity.TileEntity; import net.minecraft.util.BlockRenderLayer; import net.minecraft.util.Direction; import net.minecraft.util.math.BlockPos; import net.minecraft.world.IWorldReader; import net.minecraftforge.api.distmarker.Dist; import net.minecraftforge.api.distmarker.OnlyIn; import net.minecraftforge.energy.CapabilityEnergy; import net.minecraftforge.energy.IEnergyStorage; public class EnergyCable extends BaseEnergyCable{ public EnergyCable(final Properties properties) { super(properties); } @Override protected boolean isValidConnection(BlockState cableState, BlockState neighbourCableState, IWorldReader world, BlockPos cablePos, Direction neighbourDirection) { //Connect if the neighbour block is a pipe if(super.isValidConnection(cableState, neighbourCableState, world, cablePos, neighbourDirection)) { return true; } //Connect if the neigbour block has CapabilityEnergy for the adjacent face final BlockPos neighbourPos = cablePos.offset(neighbourDirection); final Block neighbourBlock = neighbourCableState.getBlock(); if(neighbourBlock.hasTileEntity(neighbourCableState)) { final TileEntity neighbourTileEntity = world.getTileEntity(neighbourPos); return neighbourTileEntity != null && neighbourTileEntity.getCapability(CapabilityEnergy.ENERGY, neighbourDirection.getOpposite()).isPresent(); } return neighbourBlock instanceof IEnergyStorage; } @OnlyIn(Dist.CLIENT) @Override public BlockRenderLayer getRenderLayer() { return BlockRenderLayer.CUTOUT; } } Cable class: package com.olivemod.blocks.cable.energy.copper; import com.olivemod.blocks.transfer.energy.EnergyCable; import com.olivemod.utils.ModTileEntityTypes; import net.minecraft.block.BlockState; import net.minecraft.tileentity.TileEntity; import net.minecraft.world.IBlockReader; public class CopperCable extends EnergyCable{ public CopperCable(Properties properties) { super(properties); } @Override public boolean hasTileEntity(BlockState state) { return true; } @Override public TileEntity createTileEntity(BlockState state, IBlockReader world) { return ModTileEntityTypes.COPPER_CABLE_TE.get().create(); } } BlockState: { "multipart": [ { "apply": { "model": "olivemod:block/cable/copper_cable_centre", "uvlock": true } }, { "when": { "down": "true" }, "apply": { "model": "olivemod:block/cable/copper_cable_side", "x": 90, "uvlock": true } }, { "when": { "up": "true" }, "apply": { "model": "olivemod:block/cable/copper_cable_side", "x": -90, "uvlock": true } }, { "when": { "north": "true" }, "apply": { "model": "olivemod:block/cable/copper_cable_side", "uvlock": true } }, { "when": { "south": "true" }, "apply": { "model": "olivemod:block/cable/copper_cable_side", "y": 180, "uvlock": true } }, { "when": { "west": "true" }, "apply": { "model": "olivemod:block/cable/copper_cable_side", "y": 270, "uvlock": true } }, { "when": { "east": "true" }, "apply": { "model": "olivemod:block/cable/copper_cable_side", "y": 90, "uvlock": true } } ] }
  17. I have been doing It right now. A question: I would do a TE for the cable, but I made three types of cable, can a single TE been used for more blocks? (I use deferred register)
  18. Can someone tell me how make Cable? I mean the render like classic cable in IC o TE. If you could give some gitHub Project to take a look...
  19. Fixed, deleted that. Thanks!
  20. runClient crushes on start. i know it is a mods.toml invalid, but I don't understand the problem Debug Log: [24mag2020 17:01:48.675] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher running: args [--gameDir, ., --launchTarget, fmluserdevclient, --fml.mcpVersion, 20190829.143755, --fml.mcVersion, 1.14.4, --fml.forgeGroup, net.minecraftforge, --fml.forgeVersion, 28.2.10, --version, MOD_DEV, --assetIndex, 1.14, --assetsDir, C:\Users\GABRIELE\.gradle\caches\forge_gradle\assets, --username, Dev, --accessToken, ????????, --userProperties, {}] [24mag2020 17:01:48.686] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher 4.1.0+62+5bfa59b starting: java version 1.8.0_231 by Oracle Corporation [24mag2020 17:01:48.726] [main/DEBUG] [cpw.mods.modlauncher.LaunchServiceHandler/MODLAUNCHER]: Found launch services [minecraft,fmldevdata,fmldevclient,fmldevserver,fmluserdevserver,testharness,fmluserdevdata,fmlclient,fmluserdevclient,fmlserver] [24mag2020 17:01:48.775] [main/DEBUG] [cpw.mods.modlauncher.NameMappingServiceHandler/MODLAUNCHER]: Found naming services : [srgtomcp] [24mag2020 17:01:48.809] [main/DEBUG] [cpw.mods.modlauncher.LaunchPluginHandler/MODLAUNCHER]: Found launch plugins: [eventbus,object_holder_definalize,runtime_enum_extender,accesstransformer,capability_inject_definalize,runtimedistcleaner] [24mag2020 17:01:48.848] [main/DEBUG] [cpw.mods.modlauncher.TransformationServicesHandler/MODLAUNCHER]: Discovering transformation services [24mag2020 17:01:48.869] [main/DEBUG] [cpw.mods.modlauncher.TransformationServicesHandler/MODLAUNCHER]: Found additional transformation services from discovery services: [] [24mag2020 17:01:48.994] [main/DEBUG] [cpw.mods.modlauncher.TransformationServicesHandler/MODLAUNCHER]: Found transformer services : [fml] [24mag2020 17:01:48.995] [main/DEBUG] [cpw.mods.modlauncher.TransformationServicesHandler/MODLAUNCHER]: Transformation services loading [24mag2020 17:01:48.997] [main/DEBUG] [cpw.mods.modlauncher.TransformationServiceDecorator/MODLAUNCHER]: Loading service fml [24mag2020 17:01:49.000] [main/DEBUG] [net.minecraftforge.fml.loading.FMLServiceProvider/]: Injecting tracing printstreams for STDOUT/STDERR. [24mag2020 17:01:49.007] [main/DEBUG] [net.minecraftforge.fml.loading.LauncherVersion/CORE]: Found FMLLauncher version 28.2 [24mag2020 17:01:49.008] [main/DEBUG] [net.minecraftforge.fml.loading.FMLLoader/CORE]: FML 28.2 loading [24mag2020 17:01:49.009] [main/DEBUG] [net.minecraftforge.fml.loading.FMLLoader/CORE]: FML found ModLauncher version : 4.1.0+62+5bfa59b [24mag2020 17:01:49.011] [main/DEBUG] [net.minecraftforge.fml.loading.FMLLoader/CORE]: Initializing modjar URL handler [24mag2020 17:01:49.013] [main/DEBUG] [net.minecraftforge.fml.loading.FMLLoader/CORE]: FML found AccessTransformer version : 1.0.5+4+02b7b69 [24mag2020 17:01:49.014] [main/DEBUG] [net.minecraftforge.fml.loading.FMLLoader/CORE]: FML found EventBus version : 1.0.0+54+3f83a9e [24mag2020 17:01:49.016] [main/DEBUG] [net.minecraftforge.fml.loading.FMLLoader/CORE]: Found Runtime Dist Cleaner [24mag2020 17:01:49.043] [main/DEBUG] [net.minecraftforge.fml.loading.FMLLoader/CORE]: FML found CoreMod version : 1.0.0+4+e6fed88 [24mag2020 17:01:49.045] [main/DEBUG] [net.minecraftforge.fml.loading.FMLLoader/CORE]: Found ForgeSPI package implementation version 1.5.0+6+478760f [24mag2020 17:01:49.051] [main/DEBUG] [net.minecraftforge.fml.loading.FMLLoader/CORE]: Found ForgeSPI package specification 3 [24mag2020 17:01:49.893] [main/INFO] [net.minecraftforge.fml.loading.FixSSL/CORE]: Added Lets Encrypt root certificates as additional trust [24mag2020 17:01:49.895] [main/DEBUG] [cpw.mods.modlauncher.TransformationServiceDecorator/MODLAUNCHER]: Loaded service fml [24mag2020 17:01:49.900] [main/DEBUG] [cpw.mods.modlauncher.TransformationServicesHandler/MODLAUNCHER]: Configuring option handling for services [24mag2020 17:01:49.919] [main/DEBUG] [cpw.mods.modlauncher.TransformationServicesHandler/MODLAUNCHER]: Transformation services initializing [24mag2020 17:01:49.921] [main/DEBUG] [cpw.mods.modlauncher.TransformationServiceDecorator/MODLAUNCHER]: Initializing transformation service fml [24mag2020 17:01:49.921] [main/DEBUG] [net.minecraftforge.fml.loading.FMLServiceProvider/CORE]: Setting up basic FML game directories [24mag2020 17:01:49.924] [main/DEBUG] [net.minecraftforge.fml.loading.FileUtils/CORE]: Found existing GAMEDIR directory : C:\Users\GABRIELE\Minecraft modding\OM 1.14.4\run [24mag2020 17:01:49.926] [main/DEBUG] [net.minecraftforge.fml.loading.FMLPaths/CORE]: Path GAMEDIR is C:\Users\GABRIELE\Minecraft modding\OM 1.14.4\run [24mag2020 17:01:49.927] [main/DEBUG] [net.minecraftforge.fml.loading.FileUtils/CORE]: Found existing MODSDIR directory : C:\Users\GABRIELE\Minecraft modding\OM 1.14.4\run\mods [24mag2020 17:01:49.927] [main/DEBUG] [net.minecraftforge.fml.loading.FMLPaths/CORE]: Path MODSDIR is C:\Users\GABRIELE\Minecraft modding\OM 1.14.4\run\mods [24mag2020 17:01:49.928] [main/DEBUG] [net.minecraftforge.fml.loading.FileUtils/CORE]: Found existing CONFIGDIR directory : C:\Users\GABRIELE\Minecraft modding\OM 1.14.4\run\config [24mag2020 17:01:49.929] [main/DEBUG] [net.minecraftforge.fml.loading.FMLPaths/CORE]: Path CONFIGDIR is C:\Users\GABRIELE\Minecraft modding\OM 1.14.4\run\config [24mag2020 17:01:49.929] [main/DEBUG] [net.minecraftforge.fml.loading.FMLPaths/CORE]: Path FMLCONFIG is C:\Users\GABRIELE\Minecraft modding\OM 1.14.4\run\config\fml.toml [24mag2020 17:01:49.929] [main/DEBUG] [net.minecraftforge.fml.loading.FMLServiceProvider/CORE]: Loading configuration [24mag2020 17:01:50.020] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: com.electronwill.nightconfig.core.io.ParsingException: Invalid character 'f' after key [Enable] [24mag2020 17:01:50.021] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at com.electronwill.nightconfig.toml.TableParser.parseDottedKey(TableParser.java:152) [24mag2020 17:01:50.024] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at com.electronwill.nightconfig.toml.TableParser.parseNormal(TableParser.java:55) [24mag2020 17:01:50.025] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at com.electronwill.nightconfig.toml.TomlParser.parse(TomlParser.java:44) [24mag2020 17:01:50.026] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at com.electronwill.nightconfig.toml.TomlParser.parse(TomlParser.java:37) [24mag2020 17:01:50.027] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at com.electronwill.nightconfig.core.io.ConfigParser.parse(ConfigParser.java:113) [24mag2020 17:01:50.028] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at com.electronwill.nightconfig.core.io.ConfigParser.parse(ConfigParser.java:219) [24mag2020 17:01:50.028] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at com.electronwill.nightconfig.core.io.ConfigParser.parse(ConfigParser.java:202) [24mag2020 17:01:50.029] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at com.electronwill.nightconfig.core.file.WriteSyncFileConfig.load(WriteSyncFileConfig.java:73) [24mag2020 17:01:50.030] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at com.electronwill.nightconfig.core.file.AutoreloadFileConfig.load(AutoreloadFileConfig.java:41) [24mag2020 17:01:50.031] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at com.electronwill.nightconfig.core.file.AutosaveCommentedFileConfig.load(AutosaveCommentedFileConfig.java:85) [24mag2020 17:01:50.032] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at net.minecraftforge.fml.loading.FMLConfig.loadFrom(FMLConfig.java:57) [24mag2020 17:01:50.032] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at net.minecraftforge.fml.loading.FMLConfig.load(FMLConfig.java:69) [24mag2020 17:01:50.033] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at net.minecraftforge.fml.loading.FMLServiceProvider.initialize(FMLServiceProvider.java:81) [24mag2020 17:01:50.034] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at cpw.mods.modlauncher.TransformationServiceDecorator.onInitialize(TransformationServiceDecorator.java:68) [24mag2020 17:01:50.035] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at cpw.mods.modlauncher.TransformationServicesHandler.lambda$initialiseTransformationServices$7(TransformationServicesHandler.java:107) [24mag2020 17:01:50.036] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at java.util.HashMap$Values.forEach(HashMap.java:981) [24mag2020 17:01:50.037] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at cpw.mods.modlauncher.TransformationServicesHandler.initialiseTransformationServices(TransformationServicesHandler.java:107) [24mag2020 17:01:50.037] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at cpw.mods.modlauncher.TransformationServicesHandler.initializeTransformationServices(TransformationServicesHandler.java:59) [24mag2020 17:01:50.038] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at cpw.mods.modlauncher.Launcher.run(Launcher.java:75) [24mag2020 17:01:50.039] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at cpw.mods.modlauncher.Launcher.main(Launcher.java:65) [24mag2020 17:01:50.040] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at net.minecraftforge.userdev.LaunchTesting.main(LaunchTesting.java:102) Log [24mag2020 17:01:48.675] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher running: args [--gameDir, ., --launchTarget, fmluserdevclient, --fml.mcpVersion, 20190829.143755, --fml.mcVersion, 1.14.4, --fml.forgeGroup, net.minecraftforge, --fml.forgeVersion, 28.2.10, --version, MOD_DEV, --assetIndex, 1.14, --assetsDir, C:\Users\GABRIELE\.gradle\caches\forge_gradle\assets, --username, Dev, --accessToken, ????????, --userProperties, {}] [24mag2020 17:01:48.686] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher 4.1.0+62+5bfa59b starting: java version 1.8.0_231 by Oracle Corporation [24mag2020 17:01:49.893] [main/INFO] [net.minecraftforge.fml.loading.FixSSL/CORE]: Added Lets Encrypt root certificates as additional trust [24mag2020 17:01:50.020] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: com.electronwill.nightconfig.core.io.ParsingException: Invalid character 'f' after key [Enable] [24mag2020 17:01:50.021] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at com.electronwill.nightconfig.toml.TableParser.parseDottedKey(TableParser.java:152) [24mag2020 17:01:50.024] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at com.electronwill.nightconfig.toml.TableParser.parseNormal(TableParser.java:55) [24mag2020 17:01:50.025] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at com.electronwill.nightconfig.toml.TomlParser.parse(TomlParser.java:44) [24mag2020 17:01:50.026] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at com.electronwill.nightconfig.toml.TomlParser.parse(TomlParser.java:37) [24mag2020 17:01:50.027] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at com.electronwill.nightconfig.core.io.ConfigParser.parse(ConfigParser.java:113) [24mag2020 17:01:50.028] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at com.electronwill.nightconfig.core.io.ConfigParser.parse(ConfigParser.java:219) [24mag2020 17:01:50.028] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at com.electronwill.nightconfig.core.io.ConfigParser.parse(ConfigParser.java:202) [24mag2020 17:01:50.029] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at com.electronwill.nightconfig.core.file.WriteSyncFileConfig.load(WriteSyncFileConfig.java:73) [24mag2020 17:01:50.030] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at com.electronwill.nightconfig.core.file.AutoreloadFileConfig.load(AutoreloadFileConfig.java:41) [24mag2020 17:01:50.031] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at com.electronwill.nightconfig.core.file.AutosaveCommentedFileConfig.load(AutosaveCommentedFileConfig.java:85) [24mag2020 17:01:50.032] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at net.minecraftforge.fml.loading.FMLConfig.loadFrom(FMLConfig.java:57) [24mag2020 17:01:50.032] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at net.minecraftforge.fml.loading.FMLConfig.load(FMLConfig.java:69) [24mag2020 17:01:50.033] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at net.minecraftforge.fml.loading.FMLServiceProvider.initialize(FMLServiceProvider.java:81) [24mag2020 17:01:50.034] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at cpw.mods.modlauncher.TransformationServiceDecorator.onInitialize(TransformationServiceDecorator.java:68) [24mag2020 17:01:50.035] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at cpw.mods.modlauncher.TransformationServicesHandler.lambda$initialiseTransformationServices$7(TransformationServicesHandler.java:107) [24mag2020 17:01:50.036] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at java.util.HashMap$Values.forEach(HashMap.java:981) [24mag2020 17:01:50.037] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at cpw.mods.modlauncher.TransformationServicesHandler.initialiseTransformationServices(TransformationServicesHandler.java:107) [24mag2020 17:01:50.037] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at cpw.mods.modlauncher.TransformationServicesHandler.initializeTransformationServices(TransformationServicesHandler.java:59) [24mag2020 17:01:50.038] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at cpw.mods.modlauncher.Launcher.run(Launcher.java:75) [24mag2020 17:01:50.039] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at cpw.mods.modlauncher.Launcher.main(Launcher.java:65) [24mag2020 17:01:50.040] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at net.minecraftforge.userdev.LaunchTesting.main(LaunchTesting.java:102) mods.toml: # This is an example mods.toml file. It contains the data relating to the loading mods. # There are several mandatory fields (#mandatory), and many more that are optional (#optional). # The overall format is standard TOML format, v0.5.0. # Note that there are a couple of TOML lists in this file. # Find more information on toml format here: https://github.com/toml-lang/toml # The name of the mod loader type to load - for regular FML @Mod mods it should be javafml modLoader="javafml" #mandatory # A version range to match for said mod loader - for regular FML @Mod it will be the forge version # See "https://maven.apache.org/enforcer/enforcer-rules/versionRanges.html" # 24 is 1.13-pre, 25 is 1.13.2, 26 is 1.14.2, 27 is 1.14.3, 28 is 1.14.4 loaderVersion="[28,)" #mandatory # A URL to refer people to when problems occur with this mod issueTrackerURL="http://github.com/YourName/Your-Mod-Name/issues" #optional # A list of mods - how many allowed here is determined by the individual mod loader [[mods]] #mandatory # The modid of the mod modId="examplemod" #mandatory # The version number of the mod - there's a few well known ${} variables useable here or just hardcode it version="${version}" #mandatory # A display name for the mod displayName="Example Mod" #mandatory # A URL to query for updates for this mod. See the JSON update specification <here> updateJSONURL="http://github.com/YourName/Your-Mod-Name/update.json" #optional # A URL for the "homepage" for this mod, displayed in the mod UI displayURL="http://github.com/YourName/Your-Mod-Name" #optional # A file name (in the root of the mod JAR) containing a logo for display logoFile="examplemod.png" #optional # A text field displayed in the mod UI credits="Thanks for this example mod goes to Java. The logo for this mod was taken from a post by DavidM on the Forge Forums" #optional # A text field displayed in the mod UI authors="Love, Cheese and small house plants" #optional # The description text for the mod (multi line!) (#mandatory) description=''' This is a long form description of the mod. You can write whatever you want here Have some lorem ipsum. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed mollis lacinia magna. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Sed sagittis luctus odio eu tempus. Interdum et malesuada fames ac ante ipsum primis in faucibus. Pellentesque volutpat ligula eget lacus auctor sagittis. In hac habitasse platea dictumst. Nunc gravida elit vitae sem vehicula efficitur. Donec mattis ipsum et arcu lobortis, eleifend sagittis sem rutrum. Cras pharetra quam eget posuere fermentum. Sed id tincidunt justo. Lorem ipsum dolor sit amet, consectetur adipiscing elit. ''' # A dependency - use the . to indicate dependency for a specific modid. Dependencies are optional. [[dependencies.examplemod]] #optional # The modid of the dependency modId="forge" #mandatory # Does this dependency have to exist - if not, ordering below must be specified mandatory=true #mandatory # The version range of the dependency (see "https://maven.apache.org/enforcer/enforcer-rules/versionRanges.html") versionRange="[28,)" #mandatory # An ordering relationship for the dependency - BEFORE or AFTER required if the relationship is not mandatory ordering="NONE" # Side this dependency is applied on - BOTH, CLIENT or SERVER side="BOTH" # Here's another dependency [[dependencies.examplemod]] modId="minecraft" mandatory=true versionRange="[1.14.4]" ordering="NONE" side="BOTH"
  21. Fixed. I changed with IEnergyStorage storage = itemStack.getCapability(CapabilityEnergy.ENERGY).orElse(null); Thanks everyone for support.
  22. My problem Is that I wanna charge item when Is in the slot, but I didn't understand how because I am new in 1.14.4(before I made in 1.12.2), and it was easier. What I would do is this: IEnergyStorage storage = itemstack.getCapability(CapabilityEnergy.ENERGY), how did in 1.12.2. I should write ifPresent, but I don't understand what write at ifPresent(energy -> ...). I should call method to charge battery, but how if I don't get the its storage. I tried (energy -> enegy.receiveEnergy()) but of course battery doesn't charge because It Is the generator's storage
  23. Sure a stupid question, whose storage is that? Suppose battery's, how TE get It? And how could it return the storage? Because then I should use IEnergyStorage#receiveEnergy() Could you link a gitHub's project about something like? A generator
  24. Ok, thanks. What about charge() in TileEntityGlowstoneGenerator? I have still that crush. I have It on the cast from CapabilitEnergy.Energy to IEnergyStorage How could I make to generator's TE get the Energy storage of the battery and charge It?
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.