SL23W46: Difference between revisions

From ETM
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 19: Line 19:
Random stuff
Random stuff


* '''PlayerSignOpenEvent / Make sure our hack to edit existing shop signs is no longer needed now,'''
*'''Fix ChatJson implementation since mojang fixed their impl'''
** '''Might still be needed for color conversion codes "Invalid character..."'''
*'''PlayerSignOpenEvent / Make sure our hack to edit existing shop signs is no longer needed now,'''
* '''FakeStuff: Artificially limit available slots by making them upgrades or lootables'''
**'''Might still be needed for color conversion codes "Invalid character..."'''
* '''Waterlogged Barrier useful in any way? Maybe to create physics-safe water-walls?'''
*'''FakeStuff: Artificially limit available slots by making them upgrades or lootables'''
** '''Good for Road-systems maybe/ Walk on water'''
*'''Waterlogged Barrier useful in any way? Maybe to create physics-safe water-walls?'''
* '''ChunkTrackingView requestedViewDistance'''
**'''Good for Road-systems maybe/ Walk on water'''
** '''Slow chunk sending impl can be done again !'''
*'''ChunkTrackingView requestedViewDistance'''
* <syntaxhighlight lang="java">
**'''Slow chunk sending impl can be done again !'''
*<syntaxhighlight lang="java">
updateChunkTracking ->        // kade player specific viewdistance change
updateChunkTracking ->        // kade player specific viewdistance change


       int k1 = entityplayer.getBukkitEntity().getViewDistance() + 1; //kade
       int k1 = entityplayer.getBukkitEntity().getViewDistance() + 1; //kade
</syntaxhighlight>
</syntaxhighlight>
* <br /><syntaxhighlight lang="java">
*<br /><syntaxhighlight lang="java">
if (packet instanceof ClientboundLevelChunkWithLightPacket cp) {
if (packet instanceof ClientboundLevelChunkWithLightPacket cp) {
if(!cp.isFake) {
if(!cp.isFake) {
Line 37: Line 38:
}else {
}else {
</syntaxhighlight>
</syntaxhighlight>
* '''Optimize CraftBiome <> MinecraftBiome lookups for larger amounts'''  
*'''Optimize CraftBiome <> MinecraftBiome lookups for larger amounts'''





Latest revision as of 14:38, 20 November 2023

◄ SL23W45 | SL23W47 ►


  • Some Marker Api tests, still unclear about exact usage
  • Marker must be switchable between Text and Item as Fonts can be shit
  • Add desktop functionality:
    • Layer up/down
    • Show plot-colors
    • Show flag-colors (@ foot level, perfect unserstanding if pistons/tnt works or not)
    • Grid-Style impl to know the distance for things
  • BlockId-System still open TODO for Logging & sanity checking of Fake item refs


Random stuff

  • Fix ChatJson implementation since mojang fixed their impl
  • PlayerSignOpenEvent / Make sure our hack to edit existing shop signs is no longer needed now,
    • Might still be needed for color conversion codes "Invalid character..."
  • FakeStuff: Artificially limit available slots by making them upgrades or lootables
  • Waterlogged Barrier useful in any way? Maybe to create physics-safe water-walls?
    • Good for Road-systems maybe/ Walk on water
  • ChunkTrackingView requestedViewDistance
    • Slow chunk sending impl can be done again !
  • updateChunkTracking ->        // kade player specific viewdistance change
    
           int k1 = entityplayer.getBukkitEntity().getViewDistance() + 1; //kade
    

  • if (packet instanceof ClientboundLevelChunkWithLightPacket cp) {
    			if(!cp.isFake) {
    				this.player.getView().markDelivered(cp.getX(), cp.getZ()); // kade -- make sure to ignore fake packets here!
    			}else {
    
  • Optimize CraftBiome <> MinecraftBiome lookups for larger amounts


Blueprint sharing:

- Assume each BP is only referenced by a UUID

- The name chosen by the player is not visible to others

- A "Display Name" is set for the store/user public collection

- Tags have to be added to the public BP

- Collections can be created that contain a list of BPs

- Can collections contain the BPs of multiple users?

- Ratings for BPs, Ratings for Collections

- Define a Minimum price for each BP?

- "Tip Jar" style payment above the default price?

- Make the Minimum price dependent on the complexity of the object?