hibiscusmc / hmcleaves Goto Github PK
View Code? Open in Web Editor NEWhttps://polymart.org/resource/hmcleaves.3136
License: GNU General Public License v3.0
https://polymart.org/resource/hmcleaves.3136
License: GNU General Public License v3.0
configs would be alot easier to do if u only set 1 integer and the plugin determined the leafdata based on that.
might be able to use this to get an idea for it
When exploding custom logs, they drop the default log material (OAK_LOG here). Same for custom leaves, they drop the default leaves' saplings (AZALEA here). And the custom logs near the explosion resets their state.
In the image above you can see the drops & the noteblocks that was custom logs before the explosion.
Just like vanilla twisting/cave/weeping vines, they have a tip
which is at the end of the block
for example
/setblock twisting_vines_plant = normal vine
/setblock twisting_vines = vine tip
twisting-vines:
custom_vine:
name: "&6Custom Vine"
state-id: 1
vine-tip-id: 2
[21:44:31 WARN]: java.lang.IllegalStateException: Failed to parse packetevents version!
[21:44:31 WARN]: at HMCLeaves-1.1.0-beta.jar//io.github.fisher2911.hmcleaves.packetevents.spigot.util.updatechecker.UpdateChecker.checkLatestReleasedVersion(UpdateChecker.java:51)
[21:44:31 WARN]: at HMCLeaves-1.1.0-beta.jar//io.github.fisher2911.hmcleaves.packetevents.spigot.util.updatechecker.UpdateChecker.checkForUpdate(UpdateChecker.java:62)
[21:44:31 WARN]: at HMCLeaves-1.1.0-beta.jar//io.github.fisher2911.hmcleaves.packetevents.spigot.util.updatechecker.UpdateChecker.lambda$handleUpdateCheck$0(UpdateChecker.java:111)
[21:44:31 WARN]: at java.base/java.lang.Thread.run(Thread.java:833)
[21:44:31 WARN]: Caused by: java.io.IOException: Server returned HTTP response code: 403 for URL: https://api.github.com/repos/retrooper/packetevents/releases/latest
[21:44:31 WARN]: at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1997)
[21:44:31 WARN]: at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1589)
[21:44:31 WARN]: at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:224)
[21:44:31 WARN]: at HMCLeaves-1.1.0-beta.jar//io.github.fisher2911.hmcleaves.packetevents.spigot.util.updatechecker.UpdateChecker.checkLatestReleasedVersion(UpdateChecker.java:45)
[21:44:31 WARN]: ... 3 more
[21:44:31 INFO]: [packetevents] Something went wrong while checking for an update. Your build: (2.0.0)
[21:44:31 INFO]: [packetevents] [Checking for an update again in 20 seconds..
And console has been spammed by packetevents, this plugins is maybe integrated intro HMCLeaves
HMCLeaves-1.1.1
Hook: Oraxen 1.160.0
PaperMC - 1.20.1 #120
If there are things you don't understand, I can send screenshots or videos, you can contact me here or on discord.
Minecraft has a kind of block tag #minecraft:replacable for some kinds of blocks:
Blocks with this tag will allow players to directly use other blocks to override them.
Currently it seems only grass is directly replacable by HMCLeaves blocks, so it'll be better if this feature can be expanded to all blocks that have the replacable tag.
makes that if you bonemeal cave vines that doesnt grows berries to grow like the other vines
important together with bug #16
Since both IA and Oraxen has added world edit compatibility, I think it would make sense to add Compatibility with World Edit Schematics.
well, tbh i dont understand since the plugin does not mess with the "cave_vines_plant" block but only the "cave_vines" one
as you can see in the video, the block id changes
it makes the vanilla models look bad
Hey again,
When I'm in creative mode and looking at the custom list, it happens that when I try to pull an item from the inventory it starts to replace it.
Here is my idea: i want to make some leaves really large in the trees that will be grown naturally/with saplings so im making the schematics here, but sometimes it is in the distance 7. Leaves breaks and fall down when it has the distance 7, except of course, if it is persistent
my idea is that you can create an item which places the leaves with an specific distance, like 6 for example, so it wont fall, except if you cut the whole tree, so i can create the tree with the leaves where i want and it wont fall till someone breaks the tree
or even an option to decide like "Leaves will fall only when 9 blocks away from the log" but since we dont have the blockstate for distance 9, if you place a block and its 7 or 8 blocks away from a log, instead of placing it with the server distance=7, it would be placed with server distance=6
worth mentioning:
config > only-follow-world-persistence-if-connected-to-log: true
item:
leaves:
palm_leaves:
leaf-material: OAK_LEAVES
state-id: 1
sapling: palm_saplings
leaf-drop-replacement: palm_leaves_persistent
I created the schematic and used the convert command
i mean... why not? xD
custom berries items for cave vines
could be even an oraxen item
cave-vines:
test_cave_vine:
material: paper
with-glow-berry-id: test_cave_vine_berries
model-data: 5
name: "&6Test Cave Vine"
lore:
- "&aLine 1"
state-id: 2
tipped-state-id: 3
should-grow-berries: true
berry-material: PAPER // oraxen:custom_berry
berry-model-data: 6
berry-name: "&6Test Berry"
berry-lore:
- "&aLine 1"
at the moment, you need to specify a stripped version of the log, otherwise, using the reload command will not work and it wont update
the thing is, im making the palm crown to work like a wood, so the leaves connected to it will make them not fall, till you break it
at the moment i made it like this
palm_crown:
log-material: DARK_OAK_WOOD
stripped-log-material: DARK_OAK_WOOD #does not work if i remove it
stripped-log-id: palm_crown #does not work if i remove it
but you can strip it infinetly, or even.. just make it into stripped version of the log material (stripped dark oak wood, in my case)
also, this will be useful cause at the moment seems like it is overwriting oraxen strippable blocks
When placing custom leaves on a noteblock (vanilla & custom ItemsAdder blocks), the blockstate become the default one (distance: 1 | persistent: false)
The image above shows:
leaf-drop-replacement option but for vines
After updating the plugin I realized that it is incompatible with Oraxen. the plugin is not configurable at all and the blocks do not work as intended.
You can find the detailed video of the error at this link.
https://streamable.com/8zn6l7
myserver full logs:
https://mclo.gs/agvQPf8
HMCLeaves/logs.yml
https://mclo.gs/fO91W9R
Oraxen/item.yml
https://mclo.gs/7Fs0Bsp
the error works quite messy logs blocks are not working as expected and sync with oraxen is not working. When we place the blocks, he places two each.
A setting that adds the directions of the directional blocks one by one into the configuration would be nice.
I don't think it's a configuration error. When the "generate-axes" setting is on, textures/note_block.json doesn't merge with oraxen, so this setting doesn't work properly with oraxen. A setting where we can specify the data of the direction blocks one by one would be really nice, or it could be corrected in an existing way.
Coming to the preamble of the error, I updated Oraxen and HMCLeaves and after updating I encountered such an event. this is weird
Hey,
In the configuration of the plugin, the user defines the name of the item, which can then be given via HMCLeaves. The problem is that there is no naming option, so the name is chosen as the name.
"wisteria_leaves": <===
leaf-material: OAK_LEAVES
material: PAPER
model-data: 1 # If using Oraxen/IA, you can ignore this option. Get the leaf item from /o inv or /ia.
# Blockstate Data
distance: 1
persistent: true
# Will this leaf decay, or will it be persistent?
actually-persistent: false
# The item that replaces the normal sapling drop. For example if you have an item that is textured to look like a sapling that matches the tree this leaf goes with
sapling:
hook-id: test-sapling
material: OAK_SAPLING
amount: 1
name: "&aTest"
model-data: 1
lore:
- "&7This is a test"
- "&7This is a test"
It then looks like this in the game:
-------------------
Next is model-data:
model-data: 1 # If using Oraxen/IA, you can ignore this option. Get the leaf item from /o inv or /ia.
But I'm not sure about the correct syntax when using itemsadder.
-------------------
Next, there no way to define the color of the object using rgb? For example, I have an item that is white, but when I place it, it turns green.
-------------------
Last, it is possible to add logs in the configuration, but here you need to enter a precisely defined name from the noteblock, you can't do the same as with leaves when I use ItemsAdder or some kind of hook.
or maybe making it ""open"" so people can edit it to help each other
When I load up the plugin, it spams so many messages in console you can't even read them without stopping the server. Also, nothing in the plugin actually works, and the server is unjoinable.
23.02 10:30:18 [Server] [WARN] [io.netty.channel.DefaultChannelPipeline] An exceptionCaught() event was fired, and it reached at the tail of the pipeline. It usually means the last handler in the pipeline did not handle the exception. 23.02 10:30:18 [Server] [INFO] java.lang.NoClassDefFoundError: io/github/retrooper/packetevents/injector/connection/PreChannelInitializer_v1_12 23.02 10:30:18 [Server] [INFO] at io.github.retrooper.packetevents.injector.connection.ServerChannelHandler.channelRead(ServerChannelHandler.java:64) ~[HMCLeaves-1.3.0-beta.jar:?] 23.02 10:30:18 [Server] [INFO] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) ~[netty-transport-4.1.87.Final.jar:4.1.87.Final] 23.02 10:30:18 [Server] [INFO] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[netty-transport-4.1.87.Final.jar:4.1.87.Final] 23.02 10:30:18 [Server] [INFO] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) ~[netty-transport-4.1.87.Final.jar:4.1.87.Final] 23.02 10:30:18 [Server] [INFO] at com.comphenix.protocol.injector.netty.manager.InjectionChannelInitializer.channelRead(InjectionChannelInitializer.java:26) ~[ProtocolLib.jar:?] 23.02 10:30:18 [Server] [INFO] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) ~[netty-transport-4.1.87.Final.jar:4.1.87.Final] 23.02 10:30:18 [Server] [INFO] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[netty-transport-4.1.87.Final.jar:4.1.87.Final] 23.02 10:30:18 [Server] [INFO] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) ~[netty-transport-4.1.87.Final.jar:4.1.87.Final] 23.02 10:30:18 [Server] [INFO] at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410) ~[netty-transport-4.1.87.Final.jar:4.1.87.Final] 23.02 10:30:18 [Server] [INFO] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:440) ~[netty-transport-4.1.87.Final.jar:4.1.87.Final] 23.02 10:30:18 [Server] [INFO] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[netty-transport-4.1.87.Final.jar:4.1.87.Final] 23.02 10:30:18 [Server] [INFO] at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919) ~[netty-transport-4.1.87.Final.jar:4.1.87.Final] 23.02 10:30:18 [Server] [INFO] at io.netty.channel.epoll.AbstractEpollServerChannel$EpollServerSocketUnsafe.epollInReady(AbstractEpollServerChannel.java:120) ~[netty-transport-classes-epoll-4.1.87.Final.jar:4.1.87.Final] 23.02 10:30:18 [Server] [INFO] at io.netty.channel.epoll.EpollEventLoop.processReady(EpollEventLoop.java:499) ~[netty-transport-classes-epoll-4.1.87.Final.jar:4.1.87.Final] 23.02 10:30:18 [Server] [INFO] at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:397) ~[netty-transport-classes-epoll-4.1.87.Final.jar:4.1.87.Final] 23.02 10:30:18 [Server] [INFO] at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) ~[netty-common-4.1.87.Final.jar:4.1.87.Final] 23.02 10:30:18 [Server] [INFO] at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[netty-common-4.1.87.Final.jar:4.1.87.Final] 23.02 10:30:18 [Server] [INFO] at java.lang.Thread.run(Thread.java:831) ~[?:?] 23.02 10:30:18 [Server] [INFO] Caused by: java.lang.ClassNotFoundException: io.github.retrooper.packetevents.injector.connection.PreChannelInitializer_v1_12 23.02 10:30:18 [Server] [INFO] ... 18 more
When breaking the custom leaves it always drop vanilla items. (e.c. the test leaves drop oak leaves or oak saplings).
Considering the issue in #23, It'll also be good if there can be configuration that define the drop rate of custom saplings.
Server: git-Purpur-2011 (MC: 1.20.1)
HMCLeaves version 1.0.5
The Oraxen configuration isnt working and the blocks arent transparent? (And where do I come to the Discord?)
bone mealing custom vines doesnt works
not only that, they also grows the original vine (weeping/twisting)
When breaking a custom log (stripped or not) by hand, wait a little bit, and the block doesn't break, but turns into its vanilla log material. Doesn't happen when breaking it using an axe, or rarely.
And custom logs are getting broken way faster than normal ones, or that is maybe configurable but not written in the wiki.
The images above shows in order:
Please fix that since it is really unplayable in a survival world.
Adding more features, for example for sugarcanes, cactus, weeping and twisting vines, kelp & maybe cave vines (since it can grow fruits and glow) maybe even crops since some of them have a lot more blockstates than the needed ones
Hi, after adding the plugin the server stops. When removed, the server starts up fine.
Error:
---- Minecraft Crash Report ----
// // DO NOT REPORT THIS TO PAPER! REPORT TO PURPUR INSTEAD!// I feel sad now :(
Time: 2022-11-21 05:07:25
Description: Exception in server tick loop
net.minecraft.world.level.chunk.MissingPaletteEntryException: Missing Palette entry for index 21448.
at net.minecraft.world.level.chunk.GlobalPalette.valueFor(GlobalPalette.java:34)
at com.destroystokyo.paper.antixray.ChunkPacketBlockControllerAntiXray.<init>(ChunkPacketBlockControllerAntiXray.java:128)
at net.minecraft.world.level.Level.<init>(Level.java:423)
at net.minecraft.server.level.ServerLevel.<init>(ServerLevel.java:531)
at net.minecraft.server.MinecraftServer.loadWorld0(MinecraftServer.java:591)
at net.minecraft.server.MinecraftServer.loadLevel(MinecraftServer.java:427)
at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:343)
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1116)
at net.minecraft.server.MinecraftServer.lambda$spin$1(MinecraftServer.java:310)
at java.base/java.lang.Thread.run(Thread.java:833)
Server info:
Purpur 1.19.2
If player strip the log from a direction that contains an incomplete block (such as snow layer/pointed dripstone in the video), the log will turn back to vanilla log.
Server version git-Purpur-2005 (MC: 1.20.1)
HMCLeaves version 1.0.5
Bukkit Plugins: (3): HMCLeaves, ProtocolLib, spark
Log config:
baobab_log:
log-material: OAK_LOG
stripped-log-material: STRIPPED_OAK_LOG
stripped-log-id: stripped_baobab_log
stripped-log:
inventory-item:
material: PAPER
model-data: 1
name: "stripped_baobab_log"
lore: []
material: PAPER
model-data: 1
name: "baobab_log"
lore: []
instrument: BASEDRUM
note: 1
stripped-instrument: BASEDRUM
stripped-note: 4
generate-axes: true
model-path: "example:block/baobab_log"
Server Version: purpurmc-1.20.1-2017-build
HMCLeaves Version:1.3.0
This is a rare issue when I turn the server on or off or sometimes. The block is sent only from the client side and disappears once you click on it. this happens not just for the leaves but sometimes for the seedlings.
here is a video that my players sent me.
Currently only the leaves' drops can be changed, and if set to leaf-drop-replacement: [], it'll drop vanilla leaves instead of not drop anything. Other kinds of blocks seems just unable to change/disable the drops.
I'm currently using another plugin (neither IA nor Oraxen) to manage custom items, so I hope there can be a configuration that can really change/disable the drops of blocks, so that I can totally remove the drops of all kinds of blocks.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.