Jump to content

xieao

Members
  • Posts

    8
  • Joined

  • Last visited

Recent Profile Visitors

6391 profile views

xieao's Achievements

Tree Puncher

Tree Puncher (2/8)

6

Reputation

  1. Hey! try to use this in your block properties: Block.Properties#func_226896_b_() Is to set the block to none solid. To look like this: public class BlockGobberGlass extends GlassBlock { public BlockGobberGlass(Properties properties) { super(properties.func_226896_b_()); } @OnlyIn(Dist.CLIENT) public void addInformation(ItemStack stack, @Nullable IBlockReader world, List<ITextComponent> tooltip, ITooltipFlag flag) { super.addInformation(stack, world, tooltip, flag); tooltip.add(new StringTextComponent(TextFormatting.BLUE + "A very sturdy glass block, drops the block when broken")); } }
  2. This solved the problem for me First register your entity with custom client factory like this .setCustomClientFactory((spawnEntity, world) -> new ExempleEntity(world)) And then use NetworkHooks#getEntitySpawningPacket to get Entity Spawning Packet @Override public IPacket<?> createSpawnPacket() { return NetworkHooks.getEntitySpawningPacket(this); } that's it ?
  3. Goto: File > Settings > Build, Execution, Deployment > Debugger > HotSwap and set "Reload classes after compilation" to "Always"
  4. Yes, i just changed the version back to 3.+ and it worked! You have to refresh the dependencies with: ./gradlew --refresh-dependencies BTW this is the commit from LexManos: Fix inverted logic
  5. LexManos has fixed the problem, now no need for the downgrade, just change ForgeGradle version back to '3.+'.
  6. In build.gradle change the version from '3.+' to '3.0.105' classpath group: 'net.minecraftforge.gradle', name: 'ForgeGradle', version: '3.+', changing: true should look like: classpath group: 'net.minecraftforge.gradle', name: 'ForgeGradle', version: '3.0.105', changing: true
  7. Same problem, downgrading to ForgeGradle 3.0.105 will solve the problem ?
  8. Try to use this to sync your tileentity to the client side: IBlockState state = getWorld().getBlockState(getPos()); getWorld().notifyBlockUpdate(getPos(), state, state, 3);
×
×
  • Create New...

Important Information

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