Physix
Physix V0.5.5 Beta [works on: 1.2.5-R4.0 - 1.8]
Description
Physix provide a simple gravity system that affect to whole server or selected area. By place and break a block it will check for any block around them and take a gravity to it, make it fall to the ground. You can build a house (with roof :D) by see a instruction on how to place a float block or you can watch a demonstrate video...
Features
- A simple gravity for all blocks
- TreeCut - Cut whole tree by break a tree's log
- AutoPlant - Plant by drop seed on soil
- GlueBlock - Make a float block/area by attach to glue block
How to install
Just put the .jar file in Plugins folder and run the server...
How to use
Place or break some blocks and feels the power of gravity!
TreeCut feature
TreeCut make you easy to cut a whole tree by cut only 1 log
A plugin will define as tree with following condition:
- A block under lowest log block must be dirt
- A block above highest log block must be leaf
- Between lowest and highest log block must be log only
You can cut whole tree by break a log at any part of tree
When tree was cut all leaves in 5x5 area around tree will be disappear and no sapling drop
You can gather sapling by cut leaves before cut a log
AutoPlant feature
AutoPlant make you feel more real on farming by drop a seed of Wheat, Melon, Pumpkin on soil, it will auto plant for you.
AutoPlant has a delay to plant. If you stand on high ground and drop a seed down to soil below, it is possible that sometimes seed will not plant due to long delay while seed stay in the air.
GlueBlock feature
GlueBlock is a block which attach another block to it. A block place near glue block (3x3x3 area, center at block you placed) will be attach and stay in the air, make a float area/land possible to create.
Commands
/physix instant area = Apply physic instantly on selected area
/physix instant around [Radius in number] = Apply physic instantly within radius
Please note that only OP can create, view and delete area.
Configurations
Main | Options | Result | |
---|---|---|---|
Physix: | |||
MinimumBlockConnected: 2 | A block will stay in the air if block adjacent up to this number of blocks near by | ||
CheckRadius: 15 | Checking distance from currently place/break location | ||
CheckEntity: false | Check physic if entity pickup a block (BETA) | ||
GlueBlock: 30 | Block id of glue block (default is Cob Web) | ||
TreeCut: true | Enable TreeCut feature | ||
AutoPlant: true | Enable AutoPlant feature | ||
PlantDelay: 10 | Delay before plant a seed (20 ticks equal 1 second) | ||
ApplyWorlds: | Enable physic to affect in selected world | ||
WorldName: true | Enable physic on WorldName | ||
WorldName_nether: true | Enable physic on WorldName's nether | ||
WorldName_the_end: true | Enable physic on WorldName's the end | ||
WorldName2: true | Enable physic on WorldName2 | ||
WorldName2_nether: true | Enable physic on WorldName2's nether | ||
WorldName2_the_end: true | Enable physic on WorldName2's the end |
A new world will be added when start a plugin.
Physic applied area will force enable physic to selected area (despite you disable world physic) make possible to create a physic applied room!
Video
[In Spanish] Thanks to Indeleble
Changelog
[A] = Add
[F] = Fix
[I] = Improve
[R] = Remove
v0.5.5 [#1.2.5-R4.0]
[A] Supported for 1.2.5-R4.0
v0.5.4 [#1.2.5-R1.0]
[A] Supported for 1.2.5-R1.0
[F] Sapling should AutoPlant on dirt now
[F] Duplication glitch
[F] All drops should not disappear
v0.5.3 [#1.2.4-R1.0]
[A] Supported for 1.2.4-R1.0
[A] Instant Physix [Beta]
[A] Sapling now added into AutoPlant feature
[I] TreeCut feature now break a tree naturally instead of removing it (possible for sapling to drop)
[I] Block will be check if it not cancelled from another plugin (prevent block duplication)
v0.5.2 [#1.1-R6]
[A] Supported for 1.1-R6
v0.5.1 [#1.1-R4]
[I] Supported for 1.1-R4
[I] Enderman physic now change to entity physic
v0.5 [#1.0.1-R1]
[A] Block list configuration
[F] Fixed null pointer exception
v0.4 [#1.0.1-R1]
[A] Per world physic
[A] Apply physic on selected area
[A] GlueBlock added
[A] AutoPlant - Plant by drop seed on soil (Wheat, Melon, Pumpkin only)
[A] Option to turn off enderman pickup block cause of checking physic
[A] Block fall to small objects (Torch, Button, Lever, etc.) will cause of objects to pop out of attached block
[F] No-physic-apply blocks bug (Torch, Button, Lever, etc. fall by gravity if attach to a block)
[F] Physix bug when a block connected with no-physic-apply blocks, it will float (Another block attach to torch, button, lever, etc. will float)
[F] Block fall to no-physic-apply block will still float (Another block fall to torch, button, lever, etc. must break them and fall to the ground)
[F] Skip all dropped-block without break and drop them (Block fall from high area did not break a torch, button, lever, etc. in their way)
v0.3.1 [#1.0.1-R1]
[F] Fixed showing text when use bucket
v0.3 [#1.0.1-R1]
[A] Tree Cut - Cut whole tree by breaking log (drop only log)
[A] Physix now can be configured
[I] Rewrite whole physix calculation system (more stable and easy to edit :D)
v0.2 [#1.0.1-R1]
[I] Supported for 1.0.1-R1
[F] Physix applied block are actual block now (contain block data)
v0.1 [#1561]
Initial release
Very interesting plugin and definitely something I'd like to see in the vanilla Minecraft survival mode.
The only issue I've come across so far is a stack overflow under the default Java stack size. Updating my Slackware Linux box to Java 1.7 over the weekend, so I'll see what stack sizes reduce this then.
2011-12-14 02:10:09 [WARNING] Task of 'Physix' generated an exception java.lang.StackOverflowError at net.minecraft.server.ChunkProviderServer.getChunkAt(ChunkProviderServer.java:62) at org.bukkit.craftbukkit.CraftWorld.getChunkAt(CraftWorld.java:101) at org.bukkit.craftbukkit.CraftWorld.getBlockAt(CraftWorld.java:69) at org.bukkit.craftbukkit.block.CraftBlock.getRelative(CraftBlock.java:121) at me.spywhere.Physix.Physix.checkPhysix(Physix.java:114) at me.spywhere.Physix.Physix.checkPhysix(Physix.java:148) at me.spywhere.Physix.Physix.checkPhysix(Physix.java:145)
@Psary
No, only another blocks around them. But it will check block above when you break a block.
Adjacent blocks can they be those above and those below?
@Psary
Thanks... I this plugin use recursive function to check a block around them but I limit it to 20 times of running that function (make it not check all block in that world O.o) I think if make a function check a path to bedrock, it'll need a lot of time and cause a lot of lag to server and some cave do not connect with bedrock right? (I'm not sure :P) BTW thanks for suggestion for this recursive system.
PS. I already planned a new building style which make V-like building is possible :D
Nice ! Very good work! I had the same idea some time there. But I never managed to motivate me. (sorry for bad English too)
Maybe you can use a recursive function that check if a path to the bedrock is possible? (with A* for exemple) I dont know if this is the best...
I lol'd :D Good job.
@Chemical_Datas
@sykefuu
@drakcore
This plugin affect whole world. That's mean, it will affect to all caves when you mine it too. From ground up to the sky, no block which is not affecting gravity by this plugin (for now).
Floor can be consider as small or large plate (a small/large cubic) only a block which are match to the rules will fall.
Anything in the sky, when you mine it or place a block around it. It will check for these rules.
Physix rules :D :
1. If a placed block is adjacent with another blocks it will check that block and a block around them which will not check more than 20 blocks (make it run faster)
2. If a placed block is adjacent with another 2 blocks, each block is in the same axis (X-axis or Z-axis), a block will stay in the air
3. If a placed block is not follow by 2nd rules, it will fall.
4. If you broke a block, it will check blocks which are above breaking point.
PS. Sorry for bad English ):
wouldn't this actually destroy huge natural caverns ? what is considered floor ? the 1 height ? anything bellow sea level ?
Would this affect mining in caves too?
This is incredible! I think nobody else has made this plugin before... because they were scared at how complex it would be. Great work!