I need to have a slime block

Post Reply
User avatar
Miniontoby
Member
Posts: 616
Joined: Fri Mar 01, 2019 19:25
GitHub: Miniontoby
IRC: Miniontoby
In-game: Miniontoby
Location: The Netherlands

I need to have a slime block

by Miniontoby » Post

When you watch minecraft video's on YouTube you see that they use slime blocks (for example a tnt cannon https://youtu.be/0nEDr32493I?t=114 P.S. look at the green blocks)

Can anyone makes that?
Working on mtctl ---- Check my mod "Doorbell" -- Stay safe

User avatar
LMD
Member
Posts: 1400
Joined: Sat Apr 08, 2017 08:16
GitHub: appgurueu
IRC: appguru[eu]
In-game: LMD
Location: Germany
Contact:

Re: I need to have a slime block

by LMD » Post

Have you already looked at MineClone2 ? viewtopic.php?f=50&t=16407
My stuff: Projects - Mods - Website

User avatar
Miniontoby
Member
Posts: 616
Joined: Fri Mar 01, 2019 19:25
GitHub: Miniontoby
IRC: Miniontoby
In-game: Miniontoby
Location: The Netherlands

Re: I need to have a slime block

by Miniontoby » Post

That doesn't work how I will it
Working on mtctl ---- Check my mod "Doorbell" -- Stay safe

User avatar
LMD
Member
Posts: 1400
Joined: Sat Apr 08, 2017 08:16
GitHub: appgurueu
IRC: appguru[eu]
In-game: LMD
Location: Germany
Contact:

Re: I need to have a slime block

by LMD » Post

Then probably look at xdecor trampolines ?
My stuff: Projects - Mods - Website

User avatar
Krock
Developer
Posts: 4650
Joined: Thu Oct 03, 2013 07:48
GitHub: SmallJoker
Location: Switzerland
Contact:

Re: I need to have a slime block

by Krock » Post

Trampolines only have a `bouncy` group set, which does not affect the node physics at all. I doubt you can build a TNT thrower in Minetest yet, unless you want it downwards.
Look, I programmed a bug for you. >> Mod Search Engine << - Mods by Krock - DuckDuckGo mod search bang: !mtmod <keyword here>

User avatar
Miniontoby
Member
Posts: 616
Joined: Fri Mar 01, 2019 19:25
GitHub: Miniontoby
IRC: Miniontoby
In-game: Miniontoby
Location: The Netherlands

Re: I need to have a slime block

by Miniontoby » Post

But look also at the begin of the video https://youtu.be/0nEDr32493I?t=30
Working on mtctl ---- Check my mod "Doorbell" -- Stay safe

User avatar
Lone_Wolf
Member
Posts: 2578
Joined: Sun Apr 09, 2017 05:50
GitHub: LoneWolfHT
IRC: LandarVargan
In-game: LandarVargan

Re: I need to have a slime block

by Lone_Wolf » Post

Krock wrote:I doubt you can build a TNT thrower in Minetest yet, unless you want it downwards.
:evil_grin:
viewtopic.php?f=54&t=20571#p326888
It also throws any other falling node IIRC
My ContentDB -|- Working on CaptureTheFlag -|- Minetest Forums Dark Theme!! (You need it)

User avatar
Miniontoby
Member
Posts: 616
Joined: Fri Mar 01, 2019 19:25
GitHub: Miniontoby
IRC: Miniontoby
In-game: Miniontoby
Location: The Netherlands

Re: I need to have a slime block

by Miniontoby » Post

I need a bouncing block
Working on mtctl ---- Check my mod "Doorbell" -- Stay safe

User avatar
AiTechEye
Member
Posts: 1000
Joined: Fri May 29, 2015 21:14
GitHub: AiTechEye
Location: Sweden

Re: I need to have a slime block

by AiTechEye » Post

Code: Select all

minetest.register_node("mymod:bouncy_block", {
	description = "Bouncy block",
	tiles={"default_dirt.png"},
	groups = {crumbly=1,bouncy=20},
	sounds = default.node_sound_dirt_defaults(),
})

User avatar
Miniontoby
Member
Posts: 616
Joined: Fri Mar 01, 2019 19:25
GitHub: Miniontoby
IRC: Miniontoby
In-game: Miniontoby
Location: The Netherlands

Re: I need to have a slime block

by Miniontoby » Post

It needs to bounce blocks and not the player
Working on mtctl ---- Check my mod "Doorbell" -- Stay safe

User avatar
Miniontoby
Member
Posts: 616
Joined: Fri Mar 01, 2019 19:25
GitHub: Miniontoby
IRC: Miniontoby
In-game: Miniontoby
Location: The Netherlands

Re: I need to have a slime block

by Miniontoby » Post

What code do you need to make a node that bounce blocks??
Working on mtctl ---- Check my mod "Doorbell" -- Stay safe

Red_King_Cyclops
Member
Posts: 324
Joined: Sun Jun 16, 2019 20:17
Location: x=123, y=120, z=534

Re: I need to have a slime block

by Red_King_Cyclops » Post

I'm not sure exactly how Minecraft's slime block could be recreated in Minetest. Making the slime blocks bouncy like a trampoline for entities/mobs/players would be easy, but causing blocks to stick to slime blocks would be difficult to program. First, a slime block mod would have to involve mesecons, because the mesecons mod has pistons that would push the slime blocks. A slime block would have to detect what blocks it touched and if it was pushed or pulled by a piston in order to move the adjacent blocks, and I'm not sure how that would be programmed. Mesecons already has "move blocks" that already do some of the things that slime blocks do (moving other blocks), but they wouldn't work for a TNT cannon.

Another property of slime blocks in Minecraft is that they can be used to push entities in front of them when the slime blocks are pushed by pistons. That property would be most important for a slime block TNT cannon. Perhaps some kind of mesecon-powered "entity pusher block" could do this, and it might be programmable in Minetest.
Miniontoby wrote:It needs to bounce blocks and not the player
When you say blocks, are referring to TNT when it has been ignited and is affected by gravity (falls like sand)?
Currently working on new mods.

User avatar
Miniontoby
Member
Posts: 616
Joined: Fri Mar 01, 2019 19:25
GitHub: Miniontoby
IRC: Miniontoby
In-game: Miniontoby
Location: The Netherlands

Re: I need to have a slime block

by Miniontoby » Post

I'm going to try it

Here is an list with things that the slime block needed
  • bounce blocks
  • by piston pushing he launch the player
  • fast to delete
If you have an idea leave it
Working on mtctl ---- Check my mod "Doorbell" -- Stay safe

User avatar
FreeGamers
Member
Posts: 650
Joined: Sat May 25, 2019 00:15
GitHub: is proprietary I use NotABug
Location: United States
Contact:

Re: I need to have a slime block

by FreeGamers » Post

Miniontoby wrote:I'm going to try it

Here is an list with things that the slime block needed
  • bounce blocks
  • by piston pushing he launch the player
  • fast to delete
If you have an idea leave it
There are additional slimes mobs, slime, and slimeblocks in the tmw_slimes mod. I'll probably end up doing some additional work for that mod in the near future. I have used sounds from freesound.org to add slime like effects. There was a good soundpack just posted yesterday too in the textures and WIP mods section of this forum.
viewtopic.php?f=9&t=22504

There is a mod called jumper that has a trampoline with adjustable jumping hieght. There is also a good simple trampoline in xdecor that you can probably adjust to give a slightly higher jump if you like.
viewtopic.php?t=12534

There is a sheep block in nodebox abuse mod that plays a sound when you jump on it.
viewtopic.php?f=9&t=16390&hilit=nbea
FreeGamers.org has moved to MeseCraft.net | FreeGamers on this forum is now MeseCraft

Post Reply

Who is online

Users browsing this forum: No registered users and 10 guests