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 07/27/22 in all areas

  1. This is not something I have ever looked at before, but; Both Wardens and Sculk Sensors implement VibrationListener.VibrationListenerConfig. This class by default listens for GameEvents with the tag GameEventTags.VIBRATIONS. Entities emit vibrations in that tag, see callers of Entity.gameEvent() so you can always override that method to suppress events you don't want to emit. This may have unwanted side-effects if the event is used for other behaviours, e.g. playing sounds However, if you look at VibrationListenerConfig.isValidVibration(), it checks Entity.dampensVibrations() so I guess you can override that method in your entity to return true?
  2. I'm not be able to reproduce your problem, this code works fine in Singleplayer and on Server. The Logger debug statements are correctly printed on console Please post the full class of your Item. @Override public InteractionResultHolder<ItemStack> use(Level level, Player player, InteractionHand hand) { if (player instanceof ServerPlayer serverPlayer) { LogUtils.getLogger().debug("ServerPlayer"); serverPlayer.connection.teleport(serverPlayer.getX(), 100, serverPlayer.getZ(), 0.0F, 0.0F); } if (!level.isClientSide) { LogUtils.getLogger().debug("!isClientSide"); } return super.use(level, player, hand); }
  3. the first one is the y rotation of the player head and the second one is the x rotation of the player head, you can use 0 if you don't want a specific head look direction
  4. Iron Furnaces, Framed Compacting Drawers, Builders Crafts & Addition and EnderStorage needs to update to the recent breaking changes of Forge. Check if there are updated versions.
  5. i guess your variable "player" is a Player, then you need an instance of check if the Player is an ServerPlayer. Then you can cast your Player to a ServerPlayer. Btw this is basic java.
  6. The teleport command used ServerPlayer#connection and ServerGamePacketListenerImpl#teleport, but i also remember that Player#teleportToWithTicket should work
  7. Forge Version: 41.1.0 Minecraft Version: 1.19 Downloads: Changelog: (Direct) Installer: (AdFocus) (Direct) MDK: (AdFocus) (Direct) Intro: Hello everyone, this is the first Recommended Build for 1.19. Sorry for the delay we were planning on doing this the original day Mojang released 1.19.1, but for various reason that's been delayed so instead of waiting on Mojang we're making a 1.19.0 RB. Major thing to note about this release is that we had a major overhaul of our rendering related code. You can read more about it, and how to automate a large chunk of your update here. Also did a pass of class and method renames, you can find a list here. Minor note is the removal of GlobalLootModifierSerializer in favor of Codecs. New: IForgeRegistryEntry is now removed, in favor of Delegates/Holders. Now that Mojang uses registries on Interface types and anonymous classes. Registry events will now be fired in the order that vanilla populates its own registries. With all custom registries happening afterwards in alphabetical order. This should address any vanilla code that is not delegate aware. Custom registry types should be delegate aware. New 'displayTest' option in mods.toml, allowing a simple way to use basic one sided multi-player modlist tests. New 'feature' system allowing mods to demand certain features are available in the loading system. Such as `java_version` or `glsl_version` New Fluid API overhaul allowing better physics for custom fluid types. New Biome Modifiers to allow modification of features and spawns. New JarInJar dependency management system. Changed ConfigValue#get() to throw an exception if called before config loaded. This prevents silent issues where a mod gets the value of the setting before configs are loaded. ConfigValue's now implement Supplier, to make it easier to pass around to generic functions. New ToolAction for using fishing rods. Added ItemHandler capability to chest boats Implemented full support for IPv6 Implemented caching for resource packs, should speed up loading and runtime performance when getting resource lists. Changed custom packet processing onto the network thread to give modders more control over off-thread activities. New hooks to allow enchantment and potions to control their creative tab, as well as the 'foil' overlays. New hook allowing blocks more control over how they look in the Map item. Added RenderLevelStageEvent to replace RenderLevelLastEvent Added config option to disable DFU client side optimizations, should speed up client loading process. Added User-Agent header to requests made by the update checker. Format: Java-http-client/<Java version> MinecraftForge/<ForgeVer> <ModId>/<ModVersion> Added API for tab list header/footer Added hook to allow modification of lightmap via Dimension special effects Added hook/loader to allow faces of an "elements" model to be made emissive Fixed: Fixed various event methods missing proper nullability annotations. Fixed SlotItemHandler not using ItemHandler in initialize. Fixed wrong arguments passed to PlayLevelSoundEvent.AtEntity Fixed Lighting pipeline ignoring the overlay coords from the block renderer Fixed experimental confirmation screen showing in some cases where it shouldn't. Fixed mods' worldgen data not being loaded when creating new singleplayer worlds. Fixed Reach Distance / Attack Range being clamped at 6.0 Fixed EnumArgument using toString() instead of name() for suggestions, causing some enums to suggest invalid values. Fixed some native libraries not loading correctly, should address M1 Mac issues. Fixed issue loading audio device settings during initial startup. Fixed ticking chunk tickets from forge's chunk manager not causing chunks to fully tick Fixed MC-105317 Structure blocks do not rotate entities correctly when loading Fixed ITransformationServices not loading from the classpath during dev time. Fixed some custom items rendering the damage bar twice in villager UIs. Fixed data generators related to doors. Fixed shulker boxes allowing input of items, that return false for Item#canFitInsideContainerItems, through hoppers Fixed BufferBuilder.putBulkData(ByteBuffer) not setting positions correctly. Fixed mob block breaking AI not working correctly when chunk 0,0 is unloaded. Fixed renderBreakingTexture not using the target's model data Fixed Global Loot Modifiers not using Dispatch Codec Fixed Sugar Cane not firing CropGrowEvent.Post Fixed crossbows not firing ArrowLooseEvent Fixed modded blocks ability to override sticking to vanilla sticky blocks Fixed invalid channel names sent from the server causing the network thread to error.
  8. Run a client (via runClient) join the server with ip localhost and port 25565
  9. There is no compatible Optifine version for Forge 41.0.110.

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.