Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

alowave

Members
  • Content Count

    7
  • Joined

  • Last visited

Everything posted by alowave

  1. Hello! It's time to do the configuration for my mod, and I'm confused, how do I do it? In the old versions it was in net.minecraftforge.common.config.
  2. Okay, I found another method. LGTM! @Override public void onBlockPlacedBy(World worldIn, BlockPos pos, BlockState state, LivingEntity placer, ItemStack stack) { Entity placerEntity = placer.getEntity(); if (placerEntity instanceof PlayerEntity) { this.placer = placerEntity; } }
  3. It is possible to save player who placed block with TileEntity? I need it to track who breaks block to check if a player with his level can break this type of block.
  4. Hello, i need to access DedicatedServer instance in my mod, but i only find how to get IntegratedServer instance on 1.16.5. For example, on 1.12.2 i need to just: FMLCommonHandler.instance().getMinecraftServerInstance()
×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.