Giter Club home page Giter Club logo

hmcleaves's People

Contributors

fisher2911 avatar lucian929 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

lobbytech-mc

hmcleaves's Issues

Server crash

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

Plugin configuration

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:
image

-------------------

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.

Inventory:
image

Game:
image

-------------------

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.

[SUGGESTION] Add Vine tip (edited)

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

Wrong custom leaves data when placed on noteblock.

When placing custom leaves on a noteblock (vanilla & custom ItemsAdder blocks), the blockstate become the default one (distance: 1 | persistent: false)

image

The image above shows:

  1. At the left of the noteblock; the custom leaves placed on ground.
  2. At the right of the noteblock: the custom leaves placed on the noteblock.

[Bug] Stripping not working correctly if by right clicking the log through incomplete blocks

20230728152623.mp4

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"

[Bug] Custom leaves only drop vanilla items

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

Issue when exploding custom logs/leaves

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.

image

In the image above you can see the drops & the noteblocks that was custom logs before the explosion.

[SUGGESTION] set leaves distance to fall

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

https://youtu.be/6PsqnTy0buI

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

[SUGGESTION] Custom-Berry Item

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"

some particle and pocket shipping errors

  1. When I try to break the palm_log blog by constantly jumping, it turns into an oak_log blog.
  2. When I break the palm_log blog, my hand gestures are not visible to the players next to me (I think it's a packet receiver error)
  3. When I fall from a height into the palm_log block, the oak_log fall particles comes out.
  4. same problem with leaves. when i break a leaf, when i fall on it, oak_leaves particles appear instead of palm_leaves particles.
    (and sometimes when breaking blocks it drops 2 pieces, not sure what is causing this error, it could be my own hardness algorithm interfering with it, but I will try again after the plugin is updated.)

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.

[SUGGESTION] More Features

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

clientside leaves bug

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.

https://streamable.com/wsresu

here is a video that my players sent me.

Log problem when broken by hand in Survival

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.

2023-09-01_21 57 29
2023-09-01_21 57 35
2023-09-01_21 57 45

The images above shows in order:

  1. Placed log
  2. Broken log
  3. Broken log again

Please fix that since it is really unplayable in a survival world.

sugar canes break

image image https://streamable.com/6vvl0k

After placing the sugar canes, it breaks and when we break one of the blocks we have placed one after the other, the others are constantly breaking apart.

[BUG] berries in "cave_vines_plant" transform it into "cave_vines"

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

Minecraft_.1.20.1.-.Multiplayer.3rd-party.Server.2023-07-25.02-41-39.mp4

it makes the vanilla models look bad

No Berries
image
With Berries (Vanilla)
image
With Berries (HMC Leaves)
image

[BUG/SUGGESTION] Non-Strippable wood

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

Oraxen blocks cannot be placed and will not put the correct block variation when placed.

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

resim resim

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

Creative bug (maybe future)

Hey again,

2022-11-21.06-00-53.mp4

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.

  • Is there a way to make it not decay in creative mode + or work using set data from plugins? Some plugins have the ability to block the disintegration of leaves (for example, WorldGuard).

[Suggestion] Compatibility with Nova

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.

[BUG] Leaves not fully working

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
Minecraft_.1.20.1.-.Multiplayer.3rd-party.Server.2023-07-28.00-35-06.mp4

I created the schematic and used the convert command

I need help!

The Oraxen configuration isnt working and the blocks arent transparent? (And where do I come to the Discord?)

Bug with packets

[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

Spam and nonfunctional

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.