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.

DragoniXGG

Members
  • Joined

  • Last visited

Everything posted by DragoniXGG

  1. Bolt = error package com.example.bedrockbridging.com.example; import net.minecraft.world.level.block.Block; import net.minecraft.block.BlockState; import net.minecraft.block.Blocks; import net.minecraft.entity.player.PlayerEntity; import net.minecraft.util.math.BlockPos; import net.minecraftforge.common.MinecraftForge; import net.minecraftforge.event.TickEvent; import net.minecraftforge.eventbus.api.SubscribeEvent; import net.minecraftforge.fml.common.Mod; @Mod.EventBusSubscriber public class BedrockBridgingMethod { private static final int TICKS_PER_BLOCK = 2; private int buildTicksLeft = 0; private BlockPos buildPos = null; } @SubscribeEvent public static void onPlayerTick(TickEvent.PlayerTickEvent event) { if (event.phase != TickEvent.Phase.START || event.player.isSneaking()) { return; } PlayerEntity player = event.player; BedrockBridgingMethod instance = BedrockBridgingMethod.getInstance(); if (instance.buildTicksLeft > 0) { instance.buildTicksLeft--; return; } if (instance.buildPos != null) { BlockState state = player.world.getBlockState(instance.buildPos); if (state.getBlock() == Blocks.AIR) { playerControllerClickBlock(player, instance.buildPos); } instance.buildTicksLeft = TICKS_PER_BLOCK; instance.buildPos = instance.buildPos.offset(player.getHorizontalFacing()); } else { instance.buildPos = player.getPosition().offset(player.getHorizontalFacing()); }
  2. I think need write code when slime spawn in slime chunk he deleted.
  3. I need delete slime chunks from entire world but slime spawn in the swamps stay. Using no mods. Maybe Minecraft has folder with spawn chunks. If whoes know tell me please. My mod goal delete slime chunks and create biome under swamp where will spawn slimes.

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.