Wiki 9Minecraft Grappling Hook Wiki

Overview

Grappling Hook Mod for Minecraft

A mod which adds grappling hooks. The aim of this mod is to provide a fun way to get around large builds like cities.

This mod is for Forge only. No fabric version is planned at the moment.

1.16.5/1.18.2 versions requires Cloth Config API:

Setup for Developing

  1. Download the latest Minecraft Forge Mdk for the correct version of Minecraft from
  2. Clone this repository into the src folder (e.g. rm -r src; git clone [email protected]:yyon/grapplemod.git src)
  3. Copy or symlink build.gradle and gradle.properties into the root of the Mdk
  4. Follow standard Forge Development setup (e.g. ./gradlew build, see )

Project Structure

Currently, the versions of this mod for Minecraft 1.12, 1.16, and 1.18 are on branches 1.12, 1.16.5, and 1.18 respectively.

Code Structure Overview

  • main/java/com/yyon/grapplinghook/client: Client-side code. Initialization in ClientSetup.java and event handlers in ClientEventHandlers.java. All non-client-side code must call ClientProxy.java code through ClientProxyInterface.java.
  • main/java/com/yyon/grapplinghook/common: Code that runs on both client-side and server-side. Initializiation in CommonSetup.java and event handlers in CommonEventHandlers.java.
  • main/java/com/yyon/grapplinghook/server: Server-side code.
  • main/java/com/yyon/grapplinghook/blocks: All Minecraft blocks added by this mod.
  • main/java/com/yyon/grapplinghook/items: All Minecraft items added by this mod.
  • main/java/com/yyon/grapplinghook/entities: All Minecraft entities added by this mod.
  • main/java/com/yyon/grapplinghook/enchantments: All Minecraft enchantments added by this mod.
  • main/java/com/yyon/grapplinghook/controllers: Code for physics / controlling player movement while on a grappling hook, etc.
  • main/java/com/yyon/grapplinghook/network: Custom network packets which are sent between client and server
  • main/java/com/yyon/grapplinghook/config: Configuration parameters provided by this mod that allows users to configure the parameters through a config file or cloth config
  • main/java/com/yyon/grapplinghook/integrations: Integration of this mod with other mods
  • main/java/com/yyon/grapplinghook/utils: Miscellaneous utilities