Posts: 6
Threads: 2
Joined: Oct 2014
Thanks: 0
Given 0 thank(s) in 0 post(s)
Is there a way to make a custom block/item in a plugin without having to edit the servers ini files?
I want it to be self contained in the plugin for when I distribute it.
I need to know how to make a custom Item that I can access just using the name/item number to create cItems.
I need to know how to add the artwork and the 3D object, etc...etc...
thanks for any help.
Posts: 6,485
Threads: 176
Joined: Jan 2012
Thanks: 131
Given 1074 thank(s) in 852 post(s)
The server doesn't handle any artwork, it's a client's job to do so. The server only provides the logic, the behavior of the block. Some custom blocks should be possible to do already, with their behavior defined within the hooks the server provides (such as "if a player right-clicks a block with the custom item in hand, this happens"), some behavior cannot be implemented in the current state (such as "if the block is powered by redstone, make it emit redstone signal of double the strength").
Posts: 6,485
Threads: 176
Joined: Jan 2012
Thanks: 131
Given 1074 thank(s) in 852 post(s)
I am not aware of any "standard" way of sending artwork to a client other than the resource pack; and even then a client mod is still needed to actually implement the custom item / block.
Posts: 1,450
Threads: 53
Joined: Feb 2011
Thanks: 15
Given 120 thank(s) in 91 post(s)
I've seen some blocks with text on them (not signs), I have no idea how that was achieved. I used the vanilla client and joined a server with plugins...
Posts: 1,469
Threads: 57
Joined: Jul 2012
Thanks: 66
Given 127 thank(s) in 108 post(s)
It's custom maps in item frames.