• Recently Browsing

    No registered users viewing this page.

  • Posts

    • I overrided these 3 methods in my tile entity class as follows: @Override public void onDataPacket(NetworkManager net, SUpdateTileEntityPacket pkt) { read(pkt.getNbtCompound()); } @Nullable @Override public SUpdateTileEntityPacket getUpdatePacket() { return new SUpdateTileEntityPacket(getPos(), -1, write(new CompoundNBT())); } @Override public CompoundNBT getUpdateTag() { CompoundNBT compound = new CompoundNBT(); write(compound); return compound; } And I didn't know where to put World#notifyBlockUpdate(BlockPos pos, BlockState oldState, BlockState newState, int flags) so I put it in the tick method: this.world.notifyBlockUpdate(getPos(), getBlockState(), getBlockState(), 2); But it still does not send milkCapacity to client
    • basically i just downloaded 1.16.1 forge, had a few problems but got past them. finally installed it and its now in my versions for minecraft. whenever i try to start it the launcher prepares and finalizes it which is normal, but instead of starting minecraft it flashes a popup that closes after a few seconds before the game crashes. the popup says, "FML early loading progress." its a blank screen thatt lasts a couple seconds before the launcher re-opens and reports the game crash. I have no mods in the folder. idk if this is relevant or useful but the version name in the launcher is "1.16.1-forge-32.0.20". thanks for any help you can give.
    • Hi, I'm trying to render a model with some transparent part, but this is the result: Item model is rendering fine.   Here the source code of the block: https://github.com/nik7007/upgrade_craft/blob/master/src/main/java/com/nik7/upgradecraft/blocks/AbstractFluidTankBlock.java https://github.com/nik7007/upgrade_craft/blob/master/src/main/java/com/nik7/upgradecraft/blocks/WoodenFluidTankGlassedBlock.java   Here the generation code: https://github.com/nik7007/upgrade_craft/blob/master/src/main/java/com/nik7/upgradecraft/datagenerators/BlockStateProviderUpgC.java#L48   Here the json stuff: https://github.com/nik7007/upgrade_craft/blob/master/src/main/resources/assets/upgradecraft/blockstates/wooden_fluid_tank_glassed_block.json https://github.com/nik7007/upgrade_craft/blob/master/src/main/resources/assets/upgradecraft/models/block/fluid_tank.json https://github.com/nik7007/upgrade_craft/blob/master/src/main/resources/assets/upgradecraft/models/block/wooden_fluid_tank_glassed.json Can anyone kindly help me out?  
    • Note that 1.16 does not have an MCP snapshot, due to ongoing development of a new deobfuscation scheme called MSSS. MSSS is not ready yet and so you're going to run into more cases of functions having SRG names ("func_12345_a" and the like)
    • Yup that's exactly what it was, the blockstate. I set up a proper block handler class for all my blocks, and now referencing that made it work.
  • Topics

  • Who's Online (See full list)