Giter VIP home page Giter VIP logo

geyseroptionalpack's Introduction

GeyserOptionalPack

Optional Bedrock resource pack to extend Geyser functionality. Learn more on its wiki page.

Download: GeyserOptionalPack.mcpack

Implements

  • Armor base arms/baseplate visibility
  • Armor stand poses
  • Illusioners
  • Missing particles
  • Offhand animations
  • Shulker invisibility parity
  • Spectral arrow entity texture
  • Bypass for the scoreboard character limit
  • Hides UI elements that do not exist on Java edition, such as:
    • Text input field in the cartography table
    • 2x2 crafting grid while in creative mode
    • Tick-delay and rename fields in the command block menu
    • Structure block options that do not exist on Java

Manually building

Run ./prepare_pack.sh in this directory and the necessary files from the vanilla jar will be copied to the required directories. Zip up and you're set. Optionally, you may compress the output JSON files by running ./prepare_pack.sh -jc. This should not be done when planning to contribute. You may then package with zip GeyserOptionalPack.mcpack -r . -x ".*" Jenkinsfile required_files.txt prepare_pack.sh.

Legal

This repository is not endorsed nor affiliated with Mojang, Minecraft, or Microsoft.

geyseroptionalpack's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

geyseroptionalpack's Issues

Player Heads

When You Put A Player Head On An Armour Stand It Shows As Steve And On Players
Could There Be A Way To Get The Resource From NameMC Or Somewhere And Apply The Head To The Armour Stand Please

Bundle texture

Is it possible to add the bundle texture to the resource pack?

Also while I am here, how did you get it so you can have a certain texture for an item with certain nbt data?

block_marker Particles not Displayed on Bedrock Client

Describe the bug

Since version 1.18, 21w42a, Minecraft has introduced the block_marker to replace particles for light and barrier effects.

However, there is an issue with the display of block_marker particles on the Bedrock client.

When attempting to showcase barrier, light or any block particles using the /particle command, the particles do not appear as intended on the Bedrock client, even with the optional Geyser texture pack applied.

To Reproduce

examples :

/particle block_marker barrier ~ ~1 ~ 0 0 0 0 1

/particle block_marker light ~ ~1 ~ 0 0 0 0 1

/particle block_marker acacia_leaves ~ ~1 ~ 0 0 0 0 1

Expected behaviour

Barrier, light and block particles should be displayed correctly on the Bedrock client when using the /particle command with block_marker, especially with the optional Geyser texture pack.

Screenshots / Videos

No response

Server Version and Plugins

This server is running Paper version git-Paper-243 (MC: 1.20.2) (Implementing API version 1.20.2-R0.1-SNAPSHOT) (Git: 3a5c6f8)
Plugins : floodgate, Geyser-Spigot, uhc (private, nothing that affects the particle system)

Geyser Dump

https://dump.geysermc.org/GnEijd7poe3ZMTiymUShy0K3bdGyYhim

Geyser Version

2.2.0-SNAPSHOT (git-master-f40ca20) (Java: 1.20.2, Bedrock: 1.20.0/1.20.1 - 1.20.40)

Minecraft: Bedrock Edition Device/Version

1.20.41.02, Mac OS - Linux Minecraft Launcher

Additional Context

No response

Add Shield Cooldown

The title says it all; a shield cooldown would be helpful as bedrock players cannot currently tell when their shield is disabled.

Add Java F3 screen

What feature do you want?
A command like "/geyser f3" which would show all the debug information that you get on Java when you press f3 (preferably in a similar looking GUI).

Alternatives?
There are coordinates that can be enabled or disabled, but that doesn't contain things like block looking at, or biome. Theoretically certain options can be added using plugins and be displayed in chat or with a toolbar, but that won't show everything in one place.

How I would recommend going about adding this
@notnotnotswipez and I spoke about this a lot, thinking that a possible way would be to make a custom resource pack with MoLang that would make a request from the Geyser server for information. This pack would be applied on join. Depending on your stored options in Geyser, the request would either return empty, as to not interfere with the Bedrock player's screen, or if they have f3 enabled, the request would contain all the necessary information.

Better cool down

Geysermc Attack cooldown sucks. Its very annoying to see. Can u change the cooldown so its matches java edition.

Blue Ice glows on Bedrock edition

Describe the bug

In the Java edition of Minecraft, Blue Ice does not emit any light level, but on Bedrock edition it emits a light level of 4. This seems to have been carried over to Geyser Clients as well.
I understand that this might be hard to fix as it is a client issue, but perhaps it might be possible to fix using GeyserOptionalPack?

To Reproduce

  1. Go to a dark area on Bedrock editon
  2. Place a block of Blue Ice
  3. Notice the faint glow

Expected behaviour

The Blue Ice shouldn't glow as the server is a Java edition server, and Java edition does not have this feature.

Screenshots / Videos

Minecraft 9_07_2021 9_58_01 AM
Minecraft 9_07_2021 9_58_08 AM

Server Version and Plugins

Server Version: CraftBukkit Version 3172-Spigot-610a8c0-99561c2 (1.17.1)
Bungee Version: BungeeCord Version 1594
Plugins: BungeeServerSigns, LuckPerms, BambooCollisionFix, CustomBuckets, PlaceholderAPI, TAB-BukkitBridge, floodgate, Vault, ProtocalLib, Floodgate Placeholders, WorldEdit, Essentials, EssentialsProtect, EssentialsChat, TAB, JukeboxExtendedFork, EssentialsSpawn, WorldGuard, Citizens, MobHeads
Plugins (Bungee): AdvancedBan, BungeeResourcepacks, floodgate-bungee, Geyser-Bungeecord, LuckPerms-Bungee, TAB Bungee

Geyser Dump

https://dump.geysermc.org/xTtPJBjG7jgxEm5bz6okXRSwe1hoLisx

Geyser Version

1.4.0-SNAPSHOT (git-master-334e4fb)

Minecraft: Bedrock Edition Version

1.17.2

Additional Context

No response

Redstone texture

add a texture for redstone that has north, south, east west set to none

piston heads are invisible

does anyone know why in java you can see the piston heads and in bedrock you can't see them? i mean when a head is alone without a piston behind it?

can this be fixed with the optional package?

Possibilities of this pack

Doable without issue?

  • Arrows stay stuck to player

  • Glowing effect

  • Skeleton firing animation

Requires Minecraft Java textures, but is probably doable:

Requires Minecraft Java textures, is probably doable, but would not be optional:

  • Furnace minecart and knowledge book items

Particles not displaying correctly on Bedrock

Describe the bug

Geyser doesn't display particles that are spawned by a plugin correctly.

I was making a plugin and using my bedrock account to help with testing since I don't have an alt, and noticed that particles didn't align with what they should have, but only for the bedrock account. I did test it on multiple java accounts, it only affected the bedrock one.

To Reproduce

  1. Log into the server on Bedrock
  2. Have the plugin spawn the particles
  3. The particles won't be in the correct spot

Expected behaviour

The particles should be displayed how they are on java

Screenshots / Videos

Image:
image

Video:

2022-12-06.18-07-54.mp4

Sidenote im not actually running windows xp, its still windows 10

Server Version and Plugins

LuckPerms, WorldEdit, NBTAPI, floodgate, WorldGuard, PlugManX (PlugMan), DefClaims (the one im testing)

Geyser Dump

https://dump.geysermc.org/ftLX682s6uChU0owHWQETHPcvXJjuCgY

Geyser Version

2.1.0-SNAPSHOT (git-master-3d66d27)

Minecraft: Bedrock Edition Device/Version

1.19.50; Windows 10 Edition

Additional Context

Here's the class that I'm using for the particles, if you need the plugin itself or more of the code I can give that as well.

package net.deftera.defclaims.listeners;

import de.tr7zw.nbtapi.NBTItem;
import net.deftera.defclaims.Defclaims;
import net.deftera.defclaims.datamodels.ClaimData;
import net.deftera.defclaims.db.Database;
import net.deftera.defclaims.util.ParticleUtils;
import org.bukkit.Bukkit;
import org.bukkit.Location;
import org.bukkit.Material;
import org.bukkit.Particle;
import org.bukkit.block.data.type.Bed;
import org.bukkit.entity.Player;
import org.bukkit.inventory.ItemStack;
import org.bukkit.scheduler.BukkitScheduler;
import org.w3c.dom.ranges.Range;

import java.sql.SQLException;
import java.util.Arrays;
import java.util.List;
import java.util.Objects;

public class VisualizeClaims{
    public Runnable onTimer(){
        Runnable runnable = () -> {
            //List<Player> players = (List<Player>) Bukkit.getOnlinePlayers();
            try {
                Database db = Defclaims.plugin.getDatabase();
                for(Player player : Bukkit.getOnlinePlayers()) {

                    ItemStack material = new ItemStack(Material.DIAMOND_SWORD);
                    NBTItem nbtmaterial = new NBTItem(material);
                    nbtmaterial.setInteger("CustomModelData", 5);
                    material = nbtmaterial.getItem();

                    if (player.getInventory().getItemInMainHand().isSimilar(material)) {

                        long claimDataMax;
                        try {
                            claimDataMax = db.findAllClaimData().size();
                        } catch (SQLException e) {
                            throw new RuntimeException(e);
                        }

                        String maxClaimData = db.findAllClaimData().get((int) claimDataMax - 1);

                        for (long claimID = 1; claimID <= (Long.parseLong(maxClaimData)); claimID++) {

                            try {

                                if (!(db.findClaimDataByClaimID(claimID) == null)) {

                                    int claimPlayerData = db.findClaimOnePlayerTrustLevel(claimID, player.getUniqueId());

                                    Particle outline = Particle.SMOKE_NORMAL;

                                    if (claimPlayerData == 1) {
                                        outline = Particle.VILLAGER_HAPPY;
                                    }

                                    if (claimPlayerData == 2) {
                                        outline = Particle.END_ROD;
                                    }

                                    ClaimData claimData = db.findClaimDataByClaimID(claimID);
                                    long minx = claimData.getMinx();
                                    long miny = claimData.getMiny();
                                    long minz = claimData.getMinz();
                                    long maxx = claimData.getMaxx() + 1;
                                    long maxy = claimData.getMaxy() + 1;
                                    long maxz = claimData.getMaxz() + 1;

                                    for (long x = minx; x <= maxx; x++) {
                                        for (long y = miny; y <= maxy; y++) {
                                            for (long z = minz; z <= maxz; z++) {
                                                if (x == minx) {
                                                    if (player.getLocation().getX() >= x - 15) {
                                                        if (player.getLocation().getX() <= x + 15) {
                                                            player.spawnParticle(outline, x, y, z, 0);
                                                        }
                                                    }
                                                }
                                                if (x == maxx) {
                                                    if (player.getLocation().getX() >= x - 15) {
                                                        if (player.getLocation().getX() <= x + 15) {
                                                            player.spawnParticle(outline, x, y, z, 0);
                                                        }
                                                    }
                                                }
                                                if (y == miny) {
                                                    if (player.getLocation().getX() >= x - 15) {
                                                        if (player.getLocation().getX() <= x + 15) {
                                                            player.spawnParticle(outline, x, y, z, 0);
                                                        }
                                                    }
                                                }
                                                if (y == maxy) {
                                                    if (player.getLocation().getX() >= x - 15) {
                                                        if (player.getLocation().getX() <= x + 15) {
                                                            player.spawnParticle(outline, x, y, z, 0);
                                                        }
                                                    }
                                                }
                                                if (z == minz) {
                                                    if (player.getLocation().getX() >= x - 15) {
                                                        if (player.getLocation().getX() <= x + 15) {
                                                            player.spawnParticle(outline, x, y, z, 0);
                                                        }
                                                    }
                                                }
                                                if (z == maxz) {
                                                    if (player.getLocation().getX() >= x - 15) {
                                                        if (player.getLocation().getX() <= x + 15) {
                                                            player.spawnParticle(outline, x, y, z, 0);
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }catch (SQLException ignore){}
                        }
                    }
                }
            }catch (Exception ex){
                ex.printStackTrace();
            }
        };
        return runnable;
    }
}

Bundle

Could you add bundle texture

add support hex color

i just join on be server and see it nex gradient in chat and nicknames, how to create support this feature?
image

Candles

Since there are still ~4-6 months until 1.18 is released, wouldn't it be a good idea to temporarily add candles to the geyser optional pack?

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.