Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

xieao

Members
  • Joined

  • Last visited

  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. xieao changed their profile photo
  9. Try to use this to sync your tileentity to the client side: IBlockState state = getWorld().getBlockState(getPos()); getWorld().notifyBlockUpdate(getPos(), state, state, 3);

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.