Example commands:
- A diamond hook with 100 block range and 20 hooks:
/give @p hooked:diamond_hook[hooked:hook_range=100,hooked:hook_count=20]
- An ender hook with 999 block range: (the speed is equal to the range so it still reaches the target in one tick)
/give @p hooked:ender_hook[hooked:hook_range=999,hooked:hook_speed=999]
- An ender hook that pulls the user 10 times faster than normal:
/give @p hooked:ender_hook[hooked:pull_strength=22.5]
- A diamond hook that grants flight like the redstone hook:
/give @p hooked:diamond_hook[hooked:behavior="hooked:flight",hooked:wireframe_color=[0.42,0.83,0.85]]
Hooked includes a blank hook item (hooked:custom_hook
) specifically for data packs to use:
- The item model can be configured using
minecraft:item_model
- The item name can be configured using
minecraft:item_name
- When a custom item name is applied to a hook, the hook's flair text is not shown
- The hook model can be configured using
hooked:hook_model
, which only requires thetexture
key - The hook chain can be configured using
hooked:chain_appearance
, which only requires thetexture1
andtexture2
keys
hooked:hook_count
-int
- The maximum number of hooks
hooked:hook_range
-double
- The maximum range of the hooks
hooked:hook_speed
-double
- The hook speed in blocks per tick
hooked:fire_cooldown
-int
- The fire cooldown in ticks
hooked:behavior
- one of:"hooked:basic"
- the standard hook behavior (configured usinghooked:pull_strength
)"hooked:flight"
- the flight hook behavior (configured usinghooked:wireframe_color
andhooked:break_range_factor
)
hooked:pull_strength
- (basic behavior) optional max speed to pull the player in blocks per tick (default1
)hooked:wireframe_color
- (flight behavior) optional three-component vector defining the rgb color of the wireframe guide (default[1,0,0]
)hooked:break_range_factor
- (flight behavior) optional multiplication factor for the break range of planted hooks (default4
)hooked:hook_model
- object with keys:model
- optional location for the hook .obj file (defaulthooked:models/hook/base.obj
)texture
- required location for the hook texture file (reference map:hooked:textures/hook/base/hook.png
)hookLength
- optional length of the hook model, used for positioning (default0.5
)
hooked:chain_appearance
- object with keys:texture1
- texture location for the main chain axistexture2
- texture location for the cross chain axisplayerGap
- optional gap between the player and where the chain starts rendering (default0
)particleColorMin
- optional three-component vector defining the minimum rgb values for the chain shatter particles (particles will be spawned if this is set)particleColorMax
- optional three-component vector defining the maximum rgb values for the chain shatter particles