#Trying to make custom pressure plates

1 messages · Page 1 of 1 (latest)

weak mortar
#

me and a friend are confused on where to start with a custom model for pressure plates and need help, we looked over the website and we are confused , could we have more in depth help?

oblique stag
#

You can create a model using blockblench

weak mortar
#

ok so i have a model all set up like

#

but its the scripting of the pressureplate button

oblique stag
#

You mean the behavior?

weak mortar
#

perhaps so

oblique stag
#

You can recreate the redstone interaction part using either functions or scripting. There is no block component that allows the block to have redstone interaction

#

So if you have the basic block behavior ready, you can go either to #1067869288859447416 or #1067535382285135923 and ask for help with the redstone interaction

dire garden
weak mortar
#

However that works I guess

#

Which could be rhetorically tested for to do commands from a distance just like testforblock etc

dire garden
#

Oh, at that point you may be able to make it setblock a ss15 dust inside itself if it covers it

weak mortar
#

??

dire garden
#

That'd add the redstone functionality

dire garden
#

The thing you get from mining?

#

Or trading with clerics

weak mortar
#

Which is like power or activation

#

No I know

weak mortar
dire garden
#

SS is signal strength

#

15 is the max SS in redstone

#

Sorry I'm too used to talking to redstoners

#

You can pretty much set that inside the same block as the plate at the moment it activates

#

If mojang actually fixed powered redstone dust being setblocked since a few versions ago ofc

#

Haven't tried it

weak mortar
#

Well

#

Hold on

dire garden
#

But before it didn't actually act powered

weak mortar
#

The full concept : a button entity which functions like a block that can be testfor if it’s activated, if it is it triggers the command block that’s testing for it being activated
It’s technically like a pressure plate how you can test for it being activated without the need of a command block under it

#

I’m still wondering if making it a entity is the way to go

dire garden
#

You could always keep it a block and run a command through the player to test for the player being inside it, then setblock 2 blocks under to a redstone block and use that as the power source

#

Actually that'd be easier with an entity

weak mortar
#

Ye, my friend helping me it is also better bc the idea is the button remained activated and cannot

#

Reset itself as a pressure plate does

#

You step on it and step off, the pressure plate goes back up

dire garden
#

With an entity you could do:
Test for player in the same block->If true set redstone block under/If false set air under

dire garden
#

Well ig you don't actually need an entity in that case

weak mortar
#

Oh?

dire garden
#

Just test for the player being inside the same block and place an rsb under

weak mortar
#

I’d code it myself but I’m very much new and very much reliant on the website tutorials 😦

dire garden
#

An entity would make it easier to reset

#

But ig you don't need resetting

weak mortar
#

In a sense I do but I didn’t explain that

dire garden
#

..?

#

Could you elaborate?

weak mortar
#

Hum trying to think of where to start

#

It resets if a player who doesn’t have a tag or a different player is activating it

#

Sort of like a client sided button activator

#

Call it client button progress

dire garden
#

Oh

#

Well that's oddly complicated

weak mortar
#

Ye

dire garden
#

Is there a reason for that?

weak mortar
#

Client sided parkour tbh

dire garden
weak mortar
#

So 1 player’s interactions doesn’t effect the other

#

Ye

#

Clearly I know that isn’t possible so that’s where the concept came from

#

A entity or block that has that button model

dire garden
#

Oof

weak mortar
#

What you suggest the route I take?

#

Making it a block or entity?

dire garden
#

Entity tbh

#

Blocks would be better in your case if it was server-sided

weak mortar
#

Alright rad

#

Would you mind if I come to you for future advice during the scripting of the entity and it’s scripts stuff yes

#

@dire garden

dire garden
#

I'm fairly okay I'd say at commands but not at all at scripts