Fix slimeboots & slimesling (#63)

* Fix slimeboots & slimesling
* Use vec3 instead of Vector3d which isn't found on the server
* set entity.motionXYZ manually, as setVelocity is ClientOnly

* spotlessApply (#64)

Co-authored-by: Jason Mitchell <[email protected]>
Co-authored-by: GitHub GTNH Actions <>

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This commit is contained in:
authored and GitHub committed 2023-01-04 16:36:50 +01:00
1 parent bdc7077868
commit bb87654862
3 files changed
+19 -13

No files matched your search

@@ -20,7 +20,7 @@ import tconstruct.gadgets.item.ItemSlimeSling;
import tconstruct.library.SlimeBounceHandler;
import tconstruct.library.TConstructRegistry;
@Pulse(id = "Tinkers' Gadgets", description = "All the fun toys.")
@Pulse(id = "Tinkers' Gadgets", description = "All the fun toys.", forced = true)
public class TinkerGadgets {
public static final String PulseId = "TinkerGadgets";
@@ -32,7 +32,7 @@ public class TinkerGadgets {
@Handler
public void preInit(FMLPreInitializationEvent event) {
log.info("Pre Init");
SlimeBounceHandler.init();
slimeSling = registerItem(new ItemSlimeSling(), "slimesling");
slimeBoots = registerItem(new ItemSlimeBoots(), "slime_boots");
@@ -40,6 +40,7 @@ public class TinkerGadgets {
@Handler
public void init(FMLInitializationEvent event) {
log.info("Init");
String ore = "blockSlime";
GameRegistry.addRecipe(