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.

Leaderboard

Popular Content

Showing content with the highest reputation on 12/01/21 in Posts

  1. only the folder, since a mod creates a config file in this folder but they forgot to create the folder itself that's why you get the error
  2. im not fully sure i thought it was a resource pack kind of deal like if you go into the minecraft folder find the pic that has them in it and erased them in paint then they wouldnt be there ps also if you could tell me what (1.7 is no longer supported on this forum. Please update to a modern version of Minecraft to receive support.) Means i would like to know cause i need help with updating a 1.7.10 mod to 1.12.2
  3. New version: public void LookingAt(PlayerEntity player, boolean isFluid){ ArrayList<String> list = new ArrayList<String>(); RayTraceResult block = player.pick(20.0D, 0.0F, isFluid); if(block.getType() == RayTraceResult.Type.BLOCK) { BlockPos blockpos = ((BlockRayTraceResult)block).getBlockPos(); BlockState blockstate = player.level.getBlockState(blockpos); LOGGER.info("Looking at: "+blockstate.getBlock()+"\nIs Fluid: "+isFluid+"\nPosition= "+ blockpos.getX() + ", " + blockpos.getY() + ", " + blockpos.getZ()); } }
  4. Found a better solution ArrayList<String> list = new ArrayList<String>(); Minecraft minecraft = Minecraft.getInstance(); ClientPlayerEntity player= minecraft.player; ClientWorld level = minecraft.level; RayTraceResult block = player.pick(20.0D, 0.0F, false); RayTraceResult fluid = player.pick(20.0D, 0.0F, true); \\BLOCK if(block.getType() == RayTraceResult.Type.BLOCK) { BlockPos blockpos = ((BlockRayTraceResult)block).getBlockPos(); BlockState blockstate = level.getBlockState(blockpos); LOGGER.info("Looking at: "+blockstate.getBlock()+"\nPosition= "+ blockpos.getX() + ", " + blockpos.getY() + ", " + blockpos.getZ()); } \\FLUID if(fluid.getType() == RayTraceResult.Type.BLOCK) { BlockPos blockpos = ((BlockRayTraceResult)fluid).getBlockPos(); BlockState blockstate = level.getBlockState(blockpos); LOGGER.info("Looking at: "+blockstate.getBlock()+"\nPosition= "+ blockpos.getX() + ", " + blockpos.getY() + ", " + blockpos.getZ()); } What do the first two variables do? player.pick(20.0D, 0.0F, false);

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.