a block with piston reaction like slime

Started by a23709g3 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
a block with piston reaction like slime

block that moves block near it when piston activated (like slime)
cant find in slime block code

Joined May 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
you should probably poke…
Mon, 11/11/2024 - 00:48

you should probably poke about the pistons code / the code related to the piston - I looked up "piston" in the workspace file browser, used ctrl+f, and saw something slime related on line 112 of the PistonMovingBlockEntity.java file. I'm not invested enough to look into it further, but you might need to do some code editing, something like making the blocks class inherit from the slime block class instead of what it normally does or whatever.