SL24W21: Difference between revisions

From ETM
Jump to navigation Jump to search
(Created page with "◄ SL24W20 | SL24W22 ►")
 
No edit summary
 
(14 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[SL24W20|◄ SL24W20]] | [[SL24W22|SL24W22 ►]]
[[SL24W20|◄ SL24W20]] | [[SL24W22|SL24W22 ►]]
* '''Server is getting laggy when chunks are replaced by a chunkli action'''
* '''Websocket connection is bugged?'''
* Implement StasiLookups using Area-Containers from the BlockSelMem
'''1.20.6 Changes / Things to look at'''
* DataWatcher
* '''TransferCookieConnection'''
* BLOCK_INTERACTION_RANGE, CREATIVE_BLOCK_INTERACTION_RANGE_MODIFIER
* ENTITY_INTERACTION_RANGE, CREATIVE_ENTITY_INTERACTION_RANGE_MODIFIER
* GameRules.RULE_SPAWN_CHUNK_RADIUS force set to 0
* '''startMeasuringTaskExecutionTime test TPS commands'''
* '''Change FALL_DAMAGE_MULTIPLIER while rocketboots flying?'''
* '''Test GRAVITY for ISS world'''
* Test SCALE
* '''ItemStack.isSameItemSameComponents(itemstack, itemstack1)'''
* '''return EntityHuman.this.containerMenu.getCarried(); / SlotAccess 499 ?'''
* '''EntityAttachments?'''
* '''Enchantment.Rarity'''
*          '''if(isEnchanted()) processEnchantOrder(getEnchantmentTags()); // Kade ItemStack'''
**    public void applyComponents(DataComponentPatch datacomponentpatch) {        this.components.applyPatch(datacomponentpatch);         if(isEnchanted()) processEnchantOrder(getEnchantmentTags()); // Kade
**       processEnchantOrder(nbttaglist); // Kade
*ChunkRegionLoader custom fake view loading validation needed
*WorldMap: String id to MapId object
*CraftLivingEntity.damage fix switch
*'''Maybe use the new Nutrition-System to fill up rocketboots fuel by consuming the item?'''
**'''Can all nutritious items be added into the composter then?'''
**
*'''Look into EquipmentSlot.BODY EquipmentSlotGroup'''
*'''Test out the new recreateRegionFiles startup parameter'''
**'''Can we trigger that at runtime for a specific region file? And use that as an optimizer command?'''
**
*'''TileEntityLootable removed clearContent() method?'''
*'''Compare IOWorker to SimpleRegionStorage, RegionStorageInfo'''
*'''ChunkStatus got deleted. Where do we define HeightMap.Type.GROWTH_HEIGHTMAP, check for FEATURES and POST_FEATURES ChunkStatus steps'''
*'''hasLore in Itemstack is gone, rewrite?'''
*'''Try to refactor the impl of FakeViewHelper and use ChunkRegionLoader if possible instead'''
*'''EntityAreaEffectCloud.DATA_COLOR got deleted'''
*'''Fix cursor conversion (MapDecorationTypes.''TARGET_X)'''''
<syntaxhighlight lang="java">
       
// kade 1.18 edit, armorstand maxima check as ItemArmorStand is not yet deobfuscated
if (this.getItem() instanceof ItemArmorStand) {
// From ItemArmorStand
EnumDirection enumdirection = itemactioncontext.getClickedFace();
if (enumdirection != EnumDirection.DOWN) {
BlockPosition asPos = new BlockPosition(blockposition.getX(), 0, blockposition.getZ());
BlockActionContext blockactioncontext = new BlockActionContext(itemactioncontext);
boolean flag = world.getBlockState(asPos).canBeReplaced(blockactioncontext);
BlockPosition asPos1 = flag ? asPos : asPos.relative(enumdirection);
/* if (world.getChunkAtWorldCoords(asPos1).isAtArmorStandLimit()) { // kade 1.17
Player who = (entityhuman == null) ? null : (Player) entityhuman.getBukkitEntity();
who.sendMessage("Armorstand-Limit on this chunk reached.");
world.captureBlockStates = false;
return EnumInteractionResult.FAIL;
}*/
}
      }
</syntaxhighlight>

Latest revision as of 19:10, 24 May 2024

◄ SL24W20 | SL24W22 ►

  • Server is getting laggy when chunks are replaced by a chunkli action
  • Websocket connection is bugged?
  • Implement StasiLookups using Area-Containers from the BlockSelMem


1.20.6 Changes / Things to look at

  • DataWatcher
  • TransferCookieConnection
  • BLOCK_INTERACTION_RANGE, CREATIVE_BLOCK_INTERACTION_RANGE_MODIFIER
  • ENTITY_INTERACTION_RANGE, CREATIVE_ENTITY_INTERACTION_RANGE_MODIFIER
  • GameRules.RULE_SPAWN_CHUNK_RADIUS force set to 0
  • startMeasuringTaskExecutionTime test TPS commands
  • Change FALL_DAMAGE_MULTIPLIER while rocketboots flying?
  • Test GRAVITY for ISS world
  • Test SCALE
  • ItemStack.isSameItemSameComponents(itemstack, itemstack1)
  • return EntityHuman.this.containerMenu.getCarried(); / SlotAccess 499 ?
  • EntityAttachments?
  • Enchantment.Rarity
  •          if(isEnchanted()) processEnchantOrder(getEnchantmentTags()); // Kade ItemStack
    •    public void applyComponents(DataComponentPatch datacomponentpatch) {        this.components.applyPatch(datacomponentpatch);        if(isEnchanted()) processEnchantOrder(getEnchantmentTags()); // Kade
    •        processEnchantOrder(nbttaglist); // Kade
  • ChunkRegionLoader custom fake view loading validation needed
  • WorldMap: String id to MapId object
  • CraftLivingEntity.damage fix switch
  • Maybe use the new Nutrition-System to fill up rocketboots fuel by consuming the item?
    • Can all nutritious items be added into the composter then?
  • Look into EquipmentSlot.BODY EquipmentSlotGroup
  • Test out the new recreateRegionFiles startup parameter
    • Can we trigger that at runtime for a specific region file? And use that as an optimizer command?
  • TileEntityLootable removed clearContent() method?
  • Compare IOWorker to SimpleRegionStorage, RegionStorageInfo
  • ChunkStatus got deleted. Where do we define HeightMap.Type.GROWTH_HEIGHTMAP, check for FEATURES and POST_FEATURES ChunkStatus steps
  • hasLore in Itemstack is gone, rewrite?
  • Try to refactor the impl of FakeViewHelper and use ChunkRegionLoader if possible instead
  • EntityAreaEffectCloud.DATA_COLOR got deleted
  • Fix cursor conversion (MapDecorationTypes.TARGET_X)
			        
		// kade 1.18 edit, armorstand maxima check as ItemArmorStand is not yet deobfuscated 
		if (this.getItem() instanceof ItemArmorStand) {
			// From ItemArmorStand
			EnumDirection enumdirection = itemactioncontext.getClickedFace();
			if (enumdirection != EnumDirection.DOWN) {
				BlockPosition asPos = new BlockPosition(blockposition.getX(), 0, blockposition.getZ());
				BlockActionContext blockactioncontext = new BlockActionContext(itemactioncontext);
				boolean flag = world.getBlockState(asPos).canBeReplaced(blockactioncontext);
				BlockPosition asPos1 = flag ? asPos : asPos.relative(enumdirection);
				
			/*	if (world.getChunkAtWorldCoords(asPos1).isAtArmorStandLimit()) { // kade 1.17
					Player who = (entityhuman == null) ? null : (Player) entityhuman.getBukkitEntity();
					who.sendMessage("Armorstand-Limit on this chunk reached.");
					world.captureBlockStates = false;
					return EnumInteractionResult.FAIL;
				}*/
				}
       	 }